/* style/blog-bj388-security-deep-dive.css */
:root {
  --bj388-primary-color: #11A84E;
  --bj388-secondary-color: #22C768;
  --bj388-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bj388-card-bg: #11271B;
  --bj388-background: #08160F;
  --bj388-text-main: #F2FFF6;
  --bj388-text-secondary: #A7D9B8;
  --bj388-border-color: #2E7A4E;
  --bj388-glow-color: #57E38D;
  --bj388-gold-color: #F2C14E;
  --bj388-divider-color: #1E3A2A;
  --bj388-deep-green: #0A4B2C;
}

.page-blog-bj388-security-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--bj388-text-main); /* Default text color for dark background */
  background-color: var(--bj388-background); /* Default background for the page content */
}

/* HERO Section */
.page-blog-bj388-security-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-blog-bj388-security-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height to prevent excessive stretching */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-bj388-security-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-bj388-security-deep-dive__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Space below image */
  padding: 0 20px;
}

.page-blog-bj388-security-deep-dive__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--bj388-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-bj388-security-deep-dive__description {
  font-size: 1.1em;
  color: var(--bj388-text-secondary);
  margin-bottom: 30px;
}

.page-blog-bj388-security-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-bj388-security-deep-dive__btn-primary,
.page-blog-bj388-security-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-bj388-security-deep-dive__btn-primary {
  background: var(--bj388-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-bj388-security-deep-dive__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-bj388-security-deep-dive__btn-secondary {
  background: var(--bj388-card-bg);
  color: var(--bj388-text-main);
  border: 2px solid var(--bj388-border-color);
}

.page-blog-bj388-security-deep-dive__btn-secondary:hover {
  background: var(--bj388-border-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

/* Content Area */
.page-blog-bj388-security-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bj388-background); /* Ensure consistent background */
  color: var(--bj388-text-main);
}

.page-blog-bj388-security-deep-dive__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-bj388-security-deep-dive__section-title {
  font-size: 2.2em;
  color: var(--bj388-primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

.page-blog-bj388-security-deep-dive__sub-title {
  font-size: 1.6em;
  color: var(--bj388-text-main);
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-bj388-security-deep-dive__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--bj388-text-secondary);
}

.page-blog-bj388-security-deep-dive__image-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-blog-bj388-security-deep-dive__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* FAQ Section */
.page-blog-bj388-security-deep-dive__faq-list {
  margin-top: 40px;
}

.page-blog-bj388-security-deep-dive__faq-item {
  background-color: var(--bj388-card-bg);
  border: 1px solid var(--bj388-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-bj388-security-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--bj388-text-main);
  font-size: 1.1em;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-blog-bj388-security-deep-dive__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-bj388-security-deep-dive__faq-question:hover {
  background-color: var(--bj388-deep-green);
}

.page-blog-bj388-security-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-bj388-security-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--bj388-primary-color);
}

.page-blog-bj388-security-deep-dive__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: var(--bj388-text-secondary);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-blog-bj388-security-deep-dive__image-text-block {
    flex-direction: row;
    text-align: left;
  }

  .page-blog-bj388-security-deep-dive__image-text-block:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-blog-bj388-security-deep-dive__image-text-block img {
    flex: 1;
    max-width: 50%;
  }

  .page-blog-bj388-security-deep-dive__image-text-block p {
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-blog-bj388-security-deep-dive__image-text-block:nth-child(even) p {
    padding-left: 20px;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .page-blog-bj388-security-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-bj388-security-deep-dive__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-bj388-security-deep-dive__main-title {
    font-size: 2em;
  }

  .page-blog-bj388-security-deep-dive__description {
    font-size: 1em;
  }

  .page-blog-bj388-security-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-bj388-security-deep-dive__btn-primary,
  .page-blog-bj388-security-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-blog-bj388-security-deep-dive__content-area,
  .page-blog-bj388-security-deep-dive__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-bj388-security-deep-dive__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-bj388-security-deep-dive__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-bj388-security-deep-dive__text-block {
    font-size: 0.95em;
  }

  .page-blog-bj388-security-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-bj388-security-deep-dive__image-text-block {
    flex-direction: column;
    padding: 0;
  }

  .page-blog-bj388-security-deep-dive__image-text-block img {
    max-width: 100%;
  }

  .page-blog-bj388-security-deep-dive__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-bj388-security-deep-dive__faq-answer {
    padding: 0 20px 15px;
  }
}