/* style/blog-hcm66-secure-access-tips.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-color-dark: #000000;
  --button-login-color: #EA7C07;
}

/* Base styles for the page content, considering dark body background */
.page-blog-hcm66-secure-access-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Light text for dark body background */
  background-color: var(--background-color-dark);
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-blog-hcm66-secure-access-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 40px 0; /* Small top padding, not --header-offset */
  color: var(--text-color-light);
  text-align: center;
  overflow: hidden;
}

.page-blog-hcm66-secure-access-tips__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-hcm66-secure-access-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-hcm66-secure-access-tips__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-hcm66-secure-access-tips__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-blog-hcm66-secure-access-tips__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-blog-hcm66-secure-access-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-blog-hcm66-secure-access-tips__btn-primary,
.page-blog-hcm66-secure-access-tips__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-blog-hcm66-secure-access-tips__btn-primary {
  background-color: var(--button-login-color); /* Use specific login color */
  color: var(--secondary-color);
  border: 2px solid var(--button-login-color);
}

.page-blog-hcm66-secure-access-tips__btn-primary:hover {
  background-color: darken(var(--button-login-color), 10%);
  border-color: darken(var(--button-login-color), 10%);
}

.page-blog-hcm66-secure-access-tips__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-hcm66-secure-access-tips__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-blog-hcm66-secure-access-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: var(--text-color-light);
}

.page-blog-hcm66-secure-access-tips__dark-bg {
  background-color: var(--background-color-dark);
  color: var(--text-color-light);
}

.page-blog-hcm66-secure-access-tips__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.page-blog-hcm66-secure-access-tips__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-blog-hcm66-secure-access-tips__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-hcm66-secure-access-tips__faq-list {
  margin-top: 30px;
}

.page-blog-hcm66-secure-access-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-light);
}

.page-blog-hcm66-secure-access-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--secondary-color);
  list-style: none; /* Remove default marker for details summary */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-blog-hcm66-secure-access-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-hcm66-secure-access-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-blog-hcm66-secure-access-tips__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-blog-hcm66-secure-access-tips__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Bottom CTA buttons */
.page-blog-hcm66-secure-access-tips__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-hcm66-secure-access-tips__hero-content {
    padding: 15px;
  }

  .page-blog-hcm66-secure-access-tips__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-blog-hcm66-secure-access-tips__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog-hcm66-secure-access-tips__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

  .page-blog-hcm66-secure-access-tips__hero-image-wrapper {
    max-height: 400px;
  }

  .page-blog-hcm66-secure-access-tips__hero-content {
    padding: 10px;
  }

  .page-blog-hcm66-secure-access-tips__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-blog-hcm66-secure-access-tips__description {
    font-size: 1em;
  }

  .page-blog-hcm66-secure-access-tips__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-hcm66-secure-access-tips__btn-primary,
  .page-blog-hcm66-secure-access-tips__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px !important;
    font-size: 0.95em;
  }

  .page-blog-hcm66-secure-access-tips__content-area {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-hcm66-secure-access-tips__section-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-hcm66-secure-access-tips__text-block {
    font-size: 0.95em;
  }

  .page-blog-hcm66-secure-access-tips__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-hcm66-secure-access-tips__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-hcm66-secure-access-tips__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  .page-blog-hcm66-secure-access-tips__video-section,
  .page-blog-hcm66-secure-access-tips__video-container,
  .page-blog-hcm66-secure-access-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hcm66-secure-access-tips video,
  .page-blog-hcm66-secure-access-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure no filter on images */
.page-blog-hcm66-secure-access-tips img {
  filter: none !important;
}