.page-resources-troubleshooting-login-issues {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-resources-troubleshooting-login-issues__hero-section {
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources-troubleshooting-login-issues__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-troubleshooting-login-issues__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

.page-resources-troubleshooting-login-issues__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-troubleshooting-login-issues__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-troubleshooting-login-issues__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
  font-size: 1em;
}

.page-resources-troubleshooting-login-issues__button--primary {
  background-color: #FFD700; /* Gold accent button */
  color: #003366;
  border: 2px solid #FFD700;
}

.page-resources-troubleshooting-login-issues__button--primary:hover {
  background-color: #e6c200;
  color: #002244;
}

.page-resources-troubleshooting-login-issues__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-troubleshooting-login-issues__button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-resources-troubleshooting-login-issues__hero-image {
  max-width: 800px;
  width: 100%;
  margin-top: 40px;
}

.page-resources-troubleshooting-login-issues__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-troubleshooting-login-issues__content-area {
  max-width: 1000px; /* Wider content area for better readability */
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.page-resources-troubleshooting-login-issues__table-of-contents {
  flex: 0 0 280px; /* Fixed width for TOC */
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  align-self: flex-start; /* Stick to the top */
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Position below header with some offset */
  max-height: calc(100vh - var(--header-offset, 120px) - 40px);
  overflow-y: auto;
}

.page-resources-troubleshooting-login-issues__toc-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-troubleshooting-login-issues__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-troubleshooting-login-issues__toc-list li {
  margin-bottom: 10px;
}

.page-resources-troubleshooting-login-issues__toc-link {
  text-decoration: none;
  color: #333333;
  font-weight: normal;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.page-resources-troubleshooting-login-issues__toc-link:hover,
.page-resources-troubleshooting-login-issues__toc-link.active {
  color: #003366;
  font-weight: bold;
}

.page-resources-troubleshooting-login-issues__article {
  flex: 1;
  max-width: 700px; /* Optimal reading width for article content */
}

.page-resources-troubleshooting-login-issues__article-heading {
  font-size: 2em;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-troubleshooting-login-issues__article-paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-resources-troubleshooting-login-issues__article-paragraph--conclusion {
  font-weight: bold;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.page-resources-troubleshooting-login-issues__ordered-list,
.page-resources-troubleshooting-login-issues__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-resources-troubleshooting-login-issues__ordered-list li,
.page-resources-troubleshooting-login-issues__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-troubleshooting-login-issues__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 700px; /* Constrain image width within article */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-resources-troubleshooting-login-issues__button--download,
.page-resources-troubleshooting-login-issues__button--contact {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
  margin-top: 20px;
}

.page-resources-troubleshooting-login-issues__button--download:hover,
.page-resources-troubleshooting-login-issues__button--contact:hover {
  background-color: #e6c200;
}

.page-resources-troubleshooting-login-issues__contact-info {
  background-color: #f0f8ff;
  border-left: 5px solid #003366;
  padding: 20px;
  margin: 30px 0;
  border-radius: 5px;
}

.page-resources-troubleshooting-login-issues__contact-text {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources-troubleshooting-login-issues__faq-section {
  margin-top: 40px;
}

.page-resources-troubleshooting-login-issues__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-troubleshooting-login-issues__faq-question {
  font-size: 1.2em;
  color: #003366;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-troubleshooting-login-issues__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-resources-troubleshooting-login-issues__return-link {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 15px;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-troubleshooting-login-issues__return-link:hover {
  background-color: #002244;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-troubleshooting-login-issues__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-troubleshooting-login-issues__table-of-contents {
    flex: none;
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .page-resources-troubleshooting-login-issues__article {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-troubleshooting-login-issues__hero-title {
    font-size: 2em;
  }

  .page-resources-troubleshooting-login-issues__hero-description {
    font-size: 1em;
  }

  .page-resources-troubleshooting-login-issues__button {
    width: 100%;
    margin-bottom: 10px;
  }

  .page-resources-troubleshooting-login-issues__hero-actions {
    flex-direction: column;
  }

  .page-resources-troubleshooting-login-issues__article-heading {
    font-size: 1.8em;
  }

  .page-resources-troubleshooting-login-issues__ordered-list,
  .page-resources-troubleshooting-login-issues__unordered-list {
    padding-left: 20px;
  }

  .page-resources-troubleshooting-login-issues__article-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-resources-troubleshooting-login-issues img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-troubleshooting-login-issues__hero-section {
    padding: 60px 15px;
  }

  .page-resources-troubleshooting-login-issues__content-area {
    padding: 20px 15px;
  }

  .page-resources-troubleshooting-login-issues__toc-title {
    font-size: 1.3em;
  }

  .page-resources-troubleshooting-login-issues__article-heading {
    font-size: 1.5em;
  }

  .page-resources-troubleshooting-login-issues__faq-question {
    font-size: 1.1em;
  }
}