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

/* Base styles for the page */
.page-blog-kclub-account-security {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-blog-kclub-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 */
  background-color: #f0f8ff; /* Light background for hero */
}

.page-blog-kclub-account-security__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-blog-kclub-account-security__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px 60px;
  background-color: #ffffff; /* Explicit white background for text block */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap slightly with image for visual interest */
  position: relative;
  z-index: 1;
}

.page-blog-kclub-account-security__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-blog-kclub-account-security__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog-kclub-account-security__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 500px; /* Max width for button group */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-kclub-account-security__btn-primary,
.page-blog-kclub-account-security__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-blog-kclub-account-security__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-kclub-account-security__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-blog-kclub-account-security__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-kclub-account-security__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c2;
  border-color: #1e87c2;
}

/* Content Area */
.page-blog-kclub-account-security__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicit white background for content */
  color: #333333; /* Dark text for light background */
}

.page-blog-kclub-account-security__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-kclub-account-security__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog-kclub-account-security__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-blog-kclub-account-security__section-title--light {
  color: #ffffff;
}

.page-blog-kclub-account-security__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #26A9E0;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-kclub-account-security__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-blog-kclub-account-security__paragraph--light {
  color: #f0f0f0;
}

.page-blog-kclub-account-security__keyword {
  font-weight: bold;
  color: #26A9E0; /* Highlight keywords */
}

.page-blog-kclub-account-security__paragraph--light .page-blog-kclub-account-security__keyword {
  color: #ffffff; /* Keywords in dark section are white */
}

.page-blog-kclub-account-security__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-blog-kclub-account-security__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* Center image */
}

.page-blog-kclub-account-security__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
  font-size: 17px;
  color: #555555;
}

.page-blog-kclub-account-security__list-item {
  margin-bottom: 10px;
}

.page-blog-kclub-account-security__list-item strong {
  color: #26A9E0;
}

.page-blog-kclub-account-security__list-item a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-blog-kclub-account-security__list-item a:hover {
  color: #1e87c2;
}

/* Links within content */
.page-blog-kclub-account-security__content-area a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-blog-kclub-account-security__content-area a:hover {
  color: #1e87c2;
}

.page-blog-kclub-account-security__link--light {
  color: #ffffff;
  text-decoration: underline;
}

.page-blog-kclub-account-security__link--light:hover {
  color: #f0f0f0;
}

/* FAQ Section */
.page-blog-kclub-account-security__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-kclub-account-security__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-kclub-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #333333; /* Default text color for question */
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-blog-kclub-account-security__faq-item[open] .page-blog-kclub-account-security__faq-question {
  background-color: #f0f8ff;
  color: #26A9E0; /* Active state color */
  border-bottom: 1px solid #26A9E0;
}

.page-blog-kclub-account-security__faq-question:hover {
  background-color: #f0f8ff;
}

.page-blog-kclub-account-security__faq-qtext {
  flex-grow: 1;
  color: #333333; /* Ensure text color for question */
}

.page-blog-kclub-account-security__faq-item[open] .page-blog-kclub-account-security__faq-qtext {
  color: #26A9E0; /* Text color when open */
}


.page-blog-kclub-account-security__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

/* Hide default details marker */
.page-blog-kclub-account-security__faq-item > summary {
  list-style: none;
}
.page-blog-kclub-account-security__faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-blog-kclub-account-security__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #555555;
  background-color: #ffffff;
}

/* CTA Section at bottom */
.page-blog-kclub-account-security__cta-section {
  padding: 60px 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog-kclub-account-security {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-blog-kclub-account-security__hero-content {
    padding: 30px 15px 40px;
    margin-top: -60px; /* Adjust overlap for mobile */
    max-width: calc(100% - 30px); /* Account for padding */
  }

  .page-blog-kclub-account-security__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-blog-kclub-account-security__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* CTA Buttons */
  .page-blog-kclub-account-security__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
    max-width: 100%;
    padding: 0 15px; /* Add padding to container */
  }

  .page-blog-kclub-account-security__btn-primary,
  .page-blog-kclub-account-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: 12px 20px;
  }

  /* Content Area */
  .page-blog-kclub-account-security__content-area {
    padding: 30px 15px;
  }

  .page-blog-kclub-account-security__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-blog-kclub-account-security__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-blog-kclub-account-security__paragraph,
  .page-blog-kclub-account-security__list {
    font-size: 16px;
  }

  /* Images */
  .page-blog-kclub-account-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-kclub-account-security__hero-image-wrapper,
  .page-blog-kclub-account-security__image-block,
  .page-blog-kclub-account-security__content-area,
  .page-blog-kclub-account-security__cta-section,
  .page-blog-kclub-account-security__faq-list,
  .page-blog-kclub-account-security__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  .page-blog-kclub-account-security__content-area,
  .page-blog-kclub-account-security__cta-section,
  .page-blog-kclub-account-security__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ */
  .page-blog-kclub-account-security__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-blog-kclub-account-security__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }
}