/* style/blog-how-to-safely-access-legabet.css */

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

/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-blog-how-to-safely-access-legabet {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text as body background is dark */
  background-color: var(--black-color); /* Assuming body background is dark from shared.css */
}

.page-blog-how-to-safely-access-legabet__dark-bg {
  background-color: var(--black-color);
  color: var(--text-light);
}

.page-blog-how-to-safely-access-legabet__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
  text-align: center;
  overflow: hidden;
}

.page-blog-how-to-safely-access-legabet__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-how-to-safely-access-legabet__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-blog-how-to-safely-access-legabet__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content up slightly over the image for better flow */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
  border-radius: 8px;
}

.page-blog-how-to-safely-access-legabet__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-blog-how-to-safely-access-legabet__intro-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-safely-access-legabet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-how-to-safely-access-legabet__btn-primary,
.page-blog-how-to-safely-access-legabet__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-how-to-safely-access-legabet__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-blog-how-to-safely-access-legabet__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-blog-how-to-safely-access-legabet__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-how-to-safely-access-legabet__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-blog-how-to-safely-access-legabet__content-section {
  padding: 60px 0;
}

.page-blog-how-to-safely-access-legabet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-how-to-safely-access-legabet__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-how-to-safely-access-legabet__sub-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-blog-how-to-safely-access-legabet__paragraph {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-blog-how-to-safely-access-legabet__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__list-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-blog-how-to-safely-access-legabet__image-with-text,
.page-blog-how-to-safely-access-legabet__text-with-image {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.page-blog-how-to-safely-access-legabet__image-with-text .page-blog-how-to-safely-access-legabet__content-image {
  order: 2;
}

.page-blog-how-to-safely-access-legabet__image-with-text .page-blog-how-to-safely-access-legabet__text-block,
.page-blog-how-to-safely-access-legabet__text-with-image .page-blog-how-to-safely-access-legabet__text-block {
  flex: 1;
}

.page-blog-how-to-safely-access-legabet__content-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 300px; /* Ensure min size */
}

.page-blog-how-to-safely-access-legabet__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-how-to-safely-access-legabet__product-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__product-card:hover {
  transform: translateY(-5px);
}

.page-blog-how-to-safely-access-legabet__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-how-to-safely-access-legabet__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-blog-how-to-safely-access-legabet__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-blog-how-to-safely-access-legabet__card-title a:hover {
  text-decoration: underline;
}

.page-blog-how-to-safely-access-legabet__card-description {
  font-size: 1rem;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__faq-list {
  margin-top: 40px;
}

.page-blog-how-to-safely-access-legabet__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-blog-how-to-safely-access-legabet__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-safely-access-legabet__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-how-to-safely-access-legabet__faq-item[open] .page-blog-how-to-safely-access-legabet__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-how-to-safely-access-legabet__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__faq-answer p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-blog-how-to-safely-access-legabet__cta-buttons--bottom {
  margin-top: 50px;
}

.page-blog-how-to-safely-access-legabet .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-to-safely-access-legabet__hero-content {
    margin-top: -80px;
  }
  .page-blog-how-to-safely-access-legabet__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog-how-to-safely-access-legabet__section-title {
    font-size: 2rem;
  }
  .page-blog-how-to-safely-access-legabet__sub-title {
    font-size: 1.5rem;
  }
  .page-blog-how-to-safely-access-legabet__image-with-text,
  .page-blog-how-to-safely-access-legabet__text-with-image {
    flex-direction: column;
    align-items: center;
  }
  .page-blog-how-to-safely-access-legabet__content-image {
    width: 80%;
    order: initial; /* Reset order for column layout */
  }
  .page-blog-how-to-safely-access-legabet__text-with-image .page-blog-how-to-safely-access-legabet__content-image {
    order: initial;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-safely-access-legabet {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-how-to-safely-access-legabet__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-blog-how-to-safely-access-legabet__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog-how-to-safely-access-legabet__intro-text {
    font-size: 1rem;
  }
  .page-blog-how-to-safely-access-legabet__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-how-to-safely-access-legabet__btn-primary,
  .page-blog-how-to-safely-access-legabet__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog-how-to-safely-access-legabet__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-how-to-safely-access-legabet__section-title {
    font-size: 1.8rem;
  }
  .page-blog-how-to-safely-access-legabet__sub-title {
    font-size: 1.3rem;
  }
  .page-blog-how-to-safely-access-legabet__paragraph,
  .page-blog-how-to-safely-access-legabet__list-item,
  .page-blog-how-to-safely-access-legabet__card-description {
    font-size: 1rem;
  }
  .page-blog-how-to-safely-access-legabet__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-blog-how-to-safely-access-legabet__image-with-text,
  .page-blog-how-to-safely-access-legabet__text-with-image {
    gap: 20px;
  }
  .page-blog-how-to-safely-access-legabet__card-image {
    height: 180px;
  }
  .page-blog-how-to-safely-access-legabet__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-blog-how-to-safely-access-legabet__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
  /* Ensure all containers with images/videos adapt */
  .page-blog-how-to-safely-access-legabet__hero-section,
  .page-blog-how-to-safely-access-legabet__content-section,
  .page-blog-how-to-safely-access-legabet__products-grid,
  .page-blog-how-to-safely-access-legabet__product-card,
  .page-blog-how-to-safely-access-legabet__faq-list,
  .page-blog-how-to-safely-access-legabet__image-with-text,
  .page-blog-how-to-safely-access-legabet__text-with-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}