:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-white: #ffffff;
  --border-light: #e0e0e0;
}

.page-resources-f16878-vip-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--background-white); /* Assuming body is white/light */
}

/* Hero Section */
.page-resources-f16878-vip-security__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); /* Ensures content is below fixed header */
  background: var(--secondary-color); /* Dark background for hero */
  color: var(--text-light); /* Light text for dark background */
  overflow: hidden; /* Prevents overflow from images */
}

.page-resources-f16878-vip-security__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any background effects if added */
}

.page-resources-f16878-vip-security__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-f16878-vip-security__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-resources-f16878-vip-security__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-f16878-vip-security__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color); /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-f16878-vip-security__hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-resources-f16878-vip-security__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-f16878-vip-security__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources-f16878-vip-security__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-resources-f16878-vip-security__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-resources-f16878-vip-security__paragraph a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-f16878-vip-security__paragraph a:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-resources-f16878-vip-security__intro-section {
  padding: 80px 0;
  background-color: var(--background-light); /* Light background */
  color: var(--text-dark);
}

/* Features Section */
.page-resources-f16878-vip-security__features-section {
  padding: 80px 0;
  background-color: var(--secondary-color); /* Dark background */
  color: var(--text-light);
}

.page-resources-f16878-vip-security__features-section .page-resources-f16878-vip-security__section-title {
  color: var(--primary-color); /* Gold title on dark background */
}

.page-resources-f16878-vip-security__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-resources-f16878-vip-security__card {
  background: var(--background-white); /* White card background on dark section */
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 200px; /* Minimum card width */
}

.page-resources-f16878-vip-security__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.page-resources-f16878-vip-security__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-resources-f16878-vip-security__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-f16878-vip-security__card-text {
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

.page-resources-f16878-vip-security__card-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-f16878-vip-security__card-text a:hover {
  text-decoration: underline;
}

.page-resources-f16878-vip-security__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-f16878-vip-security__btn-primary,
.page-resources-f16878-vip-security__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-f16878-vip-security__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold button */
  border: 2px solid var(--primary-color);
}

.page-resources-f16878-vip-security__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-f16878-vip-security__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-f16878-vip-security__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Compliance Section */
.page-resources-f16878-vip-security__compliance-section {
  padding: 80px 0;
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-resources-f16878-vip-security__list {
  list-style-type: disc;
  padding-left: 30px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-f16878-vip-security__list li {
  margin-bottom: 10px;
}

.page-resources-f16878-vip-security__list li strong {
  color: var(--secondary-color);
}

.page-resources-f16878-vip-security__list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-f16878-vip-security__list li a:hover {
  text-decoration: underline;
}

.page-resources-f16878-vip-security__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

/* Support Section */
.page-resources-f16878-vip-security__support-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Gold background */
  color: var(--secondary-color); /* Dark text on gold background */
  text-align: center;
}

.page-resources-f16878-vip-security__support-section .page-resources-f16878-vip-security__section-title {
  color: var(--secondary-color); /* Dark title on gold background */
}

.page-resources-f16878-vip-security__support-section .page-resources-f16878-vip-security__paragraph {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--secondary-color);
  text-align: center;
}

/* FAQ Section */
.page-resources-f16878-vip-security__faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-f16878-vip-security__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ容器样式 */
.page-resources-f16878-vip-security__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-f16878-vip-security__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 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-resources-f16878-vip-security__faq-item.active .page-resources-f16878-vip-security__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-white);
  border-radius: 0 0 5px 5px;
}

/* Vấn đề kiểu dáng */
.page-resources-f16878-vip-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-f16878-vip-security__faq-item.active .page-resources-f16878-vip-security__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color); /* Highlight active question */
}

.page-resources-f16878-vip-security__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-f16878-vip-security__faq-question:active {
  background: #eeeeee;
}

/* Vấn đề tiêu đề kiểu dáng */
.page-resources-f16878-vip-security__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện nhấp */
}

/* Chuyển đổi biểu tượng */
.page-resources-f16878-vip-security__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-f16878-vip-security__faq-item.active .page-resources-f16878-vip-security__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Xoay cho hiệu ứng 'x' hoặc '-' */
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-f16878-vip-security__hero-content h1 {
    font-size: 2.5em;
  }
  .page-resources-f16878-vip-security__section-title {
    font-size: 2em;
  }
  .page-resources-f16878-vip-security__hero-image img {
    height: 500px; /* Adjust height for larger tablets */
  }
}

@media (max-width: 768px) {
  /* Mobile padding and header offset */
  .page-resources-f16878-vip-security {
    font-size: 15px;
  }

  .page-resources-f16878-vip-security__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-f16878-vip-security__hero-content h1 {
    font-size: 2em;
  }

  .page-resources-f16878-vip-security__hero-content p {
    font-size: 1em;
  }

  .page-resources-f16878-vip-security__hero-image img {
    border-radius: 4px;
    height: 300px; /* Adjust height for mobile */
    max-width: 100% !important; /* Ensure image fits */
    width: 100% !important;
  }

  .page-resources-f16878-vip-security__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-f16878-vip-security__section-title {
    font-size: 1.8em;
  }

  .page-resources-f16878-vip-security__intro-section,
  .page-resources-f16878-vip-security__features-section,
  .page-resources-f16878-vip-security__compliance-section,
  .page-resources-f16878-vip-security__support-section,
  .page-resources-f16878-vip-security__faq-section {
    padding: 50px 0;
  }

  .page-resources-f16878-vip-security__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-f16878-vip-security__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-f16878-vip-security__card {
    padding: 20px;
    min-width: unset; /* Remove min-width for mobile cards */
  }

  .page-resources-f16878-vip-security__card-image {
    height: 180px;
    min-width: 200px;
    min-height: 200px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-resources-f16878-vip-security__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-resources-f16878-vip-security__btn-primary,
  .page-resources-f16878-vip-security__btn-secondary {
    max-width: 100% !important;
    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-f16878-vip-security__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  /* FAQ Mobile Styles */
  .page-resources-f16878-vip-security__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-f16878-vip-security__faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-f16878-vip-security__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-f16878-vip-security__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-f16878-vip-security__faq-item.active .page-resources-f16878-vip-security__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-resources-f16878-vip-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

/* Color Contrast Safeguards (as per instructions) */
.page-resources-f16878-vip-security__light-bg {
  color: var(--text-dark); /* Ensure dark text on light background */
  background: var(--background-white);
}

.page-resources-f16878-vip-security__dark-bg {
  color: var(--text-light); /* Ensure light text on dark background */
  background: var(--secondary-color);
}

.page-resources-f16878-vip-security__support-section {
  color: var(--secondary-color); /* Dark text on primary color background */
  background: var(--primary-color);
}

.page-resources-f16878-vip-security__card {
  background: var(--background-white); /* White card background */
  color: var(--text-dark); /* Dark text on card */
  border: 1px solid var(--border-light);
}

/* Ensure paragraph and list items use dark text on light backgrounds */
.page-resources-f16878-vip-security__paragraph,
.page-resources-f16878-vip-security__list li {
  color: var(--text-dark);
}

/* Overrides for text in dark sections */
.page-resources-f16878-vip-security__dark-bg .page-resources-f16878-vip-security__paragraph,
.page-resources-f16878-vip-security__dark-bg .page-resources-f16878-vip-security__list li {
  color: var(--text-light);
}

/* Specific button text colors for contrast */
.page-resources-f16878-vip-security__btn-primary {
  color: var(--secondary-color); /* Dark text on gold button */
}

.page-resources-f16878-vip-security__btn-secondary {
  color: var(--primary-color); /* Gold text on transparent/white background */
}
.page-resources-f16878-vip-security__btn-secondary:hover {
  color: var(--secondary-color); /* Dark text on gold hover */
}

/* Contrast fix if needed (though already covered by intelligent selection) */
.page-resources-f16878-vip-security__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-f16878-vip-security__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}