/* style/resources-aceph-account-security.css */
.page-resources-aceph-account-security {
  color: #333333; /* Dark text for default (white) body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-aceph-account-security__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
  min-height: 500px; /* Minimum height for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-resources-aceph-account-security__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-aceph-account-security__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.page-resources-aceph-account-security__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-resources-aceph-account-security__hero-title {
  font-size: 2.8em;
  color: #DAA520; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-aceph-account-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-aceph-account-security__cta-button {
  display: inline-block;
  background-color: #DAA520; /* Gold main color */
  color: #1A1A1A; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-resources-aceph-account-security__cta-button:hover {
  background-color: #e5c063; /* Lighter gold on hover */
  transform: translateY(-2px);
}

.page-resources-aceph-account-security__cta-button--secondary {
  background-color: #1A1A1A;
  color: #DAA520;
  border: 1px solid #DAA520;
  margin-left: 20px;
}

.page-resources-aceph-account-security__cta-button--secondary:hover {
  background-color: #333333;
  color: #e5c063;
}

.page-resources-aceph-account-security__article-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  gap: 40px;
}

.page-resources-aceph-account-security__article-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
}

.page-resources-aceph-account-security__table-of-contents {
  flex: 0 0 280px; /* Fixed width for TOC */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-self: flex-start;
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Stick below header */
}

.page-resources-aceph-account-security__toc-title {
  font-size: 1.4em;
  color: #1A1A1A;
  margin-bottom: 15px;
  border-bottom: 2px solid #DAA520;
  padding-bottom: 10px;
}

.page-resources-aceph-account-security__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-aceph-account-security__toc-list li {
  margin-bottom: 10px;
}

.page-resources-aceph-account-security__toc-link {
  text-decoration: none;
  color: #333333;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-resources-aceph-account-security__toc-link:hover,
.page-resources-aceph-account-security__toc-link.active {
  color: #DAA520;
  font-weight: bold;
}

.page-resources-aceph-account-security__main-article {
  flex-grow: 1;
  max-width: 800px; /* Optimal reading width */
  margin: 0 auto;
}

.page-resources-aceph-account-security__article-heading {
  font-size: 2em;
  color: #1A1A1A;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.page-resources-aceph-account-security__main-article p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-aceph-account-security__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px; /* Minimum image width */
  min-height: 200px; /* Minimum image height */
}

.page-resources-aceph-account-security__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

.page-resources-aceph-account-security__list li {
  margin-bottom: 0.5em;
}

.page-resources-aceph-account-security__conclusion {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 50px;
  text-align: center;
  color: #1A1A1A;
}

.page-resources-aceph-account-security__back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  background-color: #DAA520;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-aceph-account-security__back-link:hover {
  background-color: #e5c063;
}

@media (max-width: 992px) {
  .page-resources-aceph-account-security__article-wrapper {
    flex-direction: column;
  }

  .page-resources-aceph-account-security__table-of-contents {
    position: static;
    width: auto;
    margin-bottom: 40px;
  }

  .page-resources-aceph-account-security__hero-title {
    font-size: 2.2em;
  }

  .page-resources-aceph-account-security__hero-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-aceph-account-security__hero-title {
    font-size: 1.8em;
  }

  .page-resources-aceph-account-security__hero-description {
    font-size: 0.9em;
  }

  .page-resources-aceph-account-security__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    min-width: unset;
  }

  .page-resources-aceph-account-security__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-resources-aceph-account-security__article-content {
    padding: 20px 15px;
  }

  .page-resources-aceph-account-security__main-article p,
  .page-resources-aceph-account-security__list {
    font-size: 1em;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-aceph-account-security img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must be at least 200px wide/high if not max-width:100% */
  .page-resources-aceph-account-security__article-image {
    width: 100%; /* Ensures it scales down but respects min-width for larger screens */
  }
}

@media (max-width: 480px) {
  .page-resources-aceph-account-security__hero-content {
    padding: 15px;
  }
  .page-resources-aceph-account-security__hero-title {
    font-size: 1.5em;
  }
  .page-resources-aceph-account-security__hero-description {
    font-size: 0.85em;
  }
  .page-resources-aceph-account-security__cta-button {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
  .page-resources-aceph-account-security__cta-button--secondary {
    margin-top: 10px;
  }
  .page-resources-aceph-account-security__article-heading {
    font-size: 1.5em;
  }
}