.page-resources-tg77-account-security {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px);
}

.page-resources-tg77-account-security__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.8));
  position: relative;
  overflow: hidden;
}

.page-resources-tg77-account-security__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-tg77-account-security__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-resources-tg77-account-security__hero-title {
  font-size: 3.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-resources-tg77-account-security__hero-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-tg77-account-security__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-tg77-account-security__hero-button:hover {
  background-color: #e0a532;
  transform: translateY(-3px);
}

.page-resources-tg77-account-security__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-tg77-account-security__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-resources-tg77-account-security__article-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background to contrast with light text */
}

.page-resources-tg77-account-security__article-container {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-resources-tg77-account-security__back-link a,
.page-resources-tg77-account-security__back-to-resources-bottom a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  display: inline-block;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.page-resources-tg77-account-security__back-link a:hover,
.page-resources-tg77-account-security__back-to-resources-bottom a:hover {
  color: #e0a532;
}

.page-resources-tg77-account-security__article-content h2 {
  font-size: 2.2em;
  color: #FCBC45;
  margin-top: 50px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
}

.page-resources-tg77-account-security__article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-resources-tg77-account-security__article-content p {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.page-resources-tg77-account-security__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-tg77-account-security__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #FCBC45;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-resources-tg77-account-security__faq-question {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-tg77-account-security__faq-answer {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.page-resources-tg77-account-security__faq-item.active .page-resources-tg77-account-security__faq-answer {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
}

.page-resources-tg77-account-security__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.9));
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-tg77-account-security__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-tg77-account-security__cta-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-tg77-account-security__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-tg77-account-security__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-tg77-account-security__cta-button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-tg77-account-security__cta-button--primary:hover {
  background-color: #e0a532;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-tg77-account-security__cta-button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-tg77-account-security__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .page-resources-tg77-account-security__hero-title {
    font-size: 2.8em;
  }
  .page-resources-tg77-account-security__article-content h2 {
    font-size: 2em;
  }
  .page-resources-tg77-account-security__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-tg77-account-security__hero-section {
    padding: 60px 15px;
  }
  .page-resources-tg77-account-security__hero-title {
    font-size: 2.2em;
  }
  .page-resources-tg77-account-security__hero-description {
    font-size: 1em;
  }
  .page-resources-tg77-account-security__hero-container {
    flex-direction: column;
  }
  .page-resources-tg77-account-security__article-section {
    padding: 40px 15px;
  }
  .page-resources-tg77-account-security__article-content h2 {
    font-size: 1.8em;
  }
  .page-resources-tg77-account-security__article-content p {
    font-size: 0.95em;
  }
  .page-resources-tg77-account-security__article-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources-tg77-account-security__cta-title {
    font-size: 2em;
  }
  .page-resources-tg77-account-security__cta-description {
    font-size: 1em;
  }
  .page-resources-tg77-account-security__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-tg77-account-security__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-resources-tg77-account-security__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources-tg77-account-security__hero-title {
    font-size: 1.8em;
  }
  .page-resources-tg77-account-security__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-tg77-account-security__article-content h2 {
    font-size: 1.5em;
  }
  .page-resources-tg77-account-security__cta-title {
    font-size: 1.8em;
  }
}