/* style/blog-account-security.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --safe-dark-text: #333333;
  --safe-light-text: #ffffff;
}

.page-blog-account-security {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-color); /* Body background is from shared, this is for main content sections */
  line-height: 1.6;
}

.page-blog-account-security__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-blog-account-security__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

.page-blog-account-security__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-account-security__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-blog-account-security__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-account-security__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-blog-account-security__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-account-security__btn-primary,
.page-blog-account-security__btn-secondary {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-account-security__btn-primary {
  background: var(--button-gradient);
  color: var(--safe-light-text);
  border: 2px solid transparent;
}

.page-blog-account-security__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-account-security__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-account-security__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--primary-color);
  color: var(--safe-light-text);
}

.page-blog-account-security__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-color);
}

.page-blog-account-security__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-blog-account-security__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
}

.page-blog-account-security h2 + p,
.page-blog-account-security h3 + p {
  margin-top: 15px;
}

.page-blog-account-security p {
  margin-bottom: 20px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-blog-account-security strong {
  color: var(--text-main);
}

.page-blog-account-security__faq-list {
  margin-top: 40px;
}

.page-blog-account-security__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-blog-account-security__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main);
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-blog-account-security__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-account-security__faq-item summary:hover {
  background-color: var(--deep-green);
}

.page-blog-account-security__faq-qtext {
  flex-grow: 1;
}

.page-blog-account-security__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-account-security__faq-item[open] .page-blog-account-security__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-account-security__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-blog-account-security__faq-answer p {
  margin-bottom: 0;
}

.page-blog-account-security__cta-section {
  background-color: var(--deep-green);
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  border: 1px solid var(--border-color);
}

.page-blog-account-security__cta-title {
  font-size: 2em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-account-security__cta-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-account-security__hero-content {
    max-width: 768px;
  }
  .page-blog-account-security__section-title {
    font-size: 1.8em;
  }
  .page-blog-account-security__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog-account-security__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog-account-security__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-blog-account-security__description {
    font-size: 1em;
  }
  .page-blog-account-security__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-account-security__btn-primary,
  .page-blog-account-security__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }
  .page-blog-account-security__content-area {
    padding: 30px 15px;
  }
  .page-blog-account-security__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-blog-account-security p {
    font-size: 0.95em;
  }
  .page-blog-account-security__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-blog-account-security__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-account-security__cta-section {
    padding: 40px 20px;
  }
  .page-blog-account-security__cta-title {
    font-size: 1.6em;
  }
  .page-blog-account-security__cta-description {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-blog-account-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-account-security__hero-image-wrapper,
  .page-blog-account-security__content-area,
  .page-blog-account-security__cta-section,
  .page-blog-account-security__faq-list,
  .page-blog-account-security__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-account-security__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-account-security__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-account-security__hero-image {
    border-radius: 0;
  }
}

/* Ensure content elements don't cause horizontal scroll */
.page-blog-account-security__content-area * {
  box-sizing: border-box;
}

/* Text contrast safety for general paragraphs and lists */
.page-blog-account-security p,
.page-blog-account-security li {
  color: var(--text-secondary); /* Default for body background #08160F */
}

/* Override for specific sections if needed */
.page-blog-account-security__light-bg {
  background-color: #ffffff;
  color: var(--safe-dark-text);
}

.page-blog-account-security__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

/* Ensure no filter is applied to images */
.page-blog-account-security img {
  filter: none !important;
}