/* style/blog-hk79-safe-betting-guide.css */

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

.page-blog-hk79-safe-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--black-color); /* Matches body background */
}

.page-blog-hk79-safe-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-hk79-safe-betting-guide__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;
  background-color: var(--black-color);
}

.page-blog-hk79-safe-betting-guide__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-blog-hk79-safe-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-hk79-safe-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image, but text is still below */
  background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-hk79-safe-betting-guide__main-title {
  color: var(--secondary-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-blog-hk79-safe-betting-guide__intro-text {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-hk79-safe-betting-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-blog-hk79-safe-betting-guide__btn-primary {
  background-color: var(--login-color); /* Specific color for login/register */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

.page-blog-hk79-safe-betting-guide__btn-primary:hover {
  background-color: #e06a00;
  border-color: #e06a00;
}

.page-blog-hk79-safe-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-hk79-safe-betting-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-blog-hk79-safe-betting-guide__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-blog-hk79-safe-betting-guide__section {
  padding: 60px 0;
  background-color: var(--black-color);
  color: var(--text-light);
}

.page-blog-hk79-safe-betting-guide__section:nth-of-type(odd) {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-blog-hk79-safe-betting-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-hk79-safe-betting-guide__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-blog-hk79-safe-betting-guide__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hk79-safe-betting-guide__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-hk79-safe-betting-guide__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-blog-hk79-safe-betting-guide__step-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-hk79-safe-betting-guide__step-description {
  font-size: 1rem;
  color: var(--text-light);
}

.page-blog-hk79-safe-betting-guide__note-section {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-hk79-safe-betting-guide__note-title {
  font-size: 1.5rem;
  color: var(--login-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-blog-hk79-safe-betting-guide__note-list {
  list-style-type: disc;
  padding-left: 25px;
  color: var(--text-light);
}

.page-blog-hk79-safe-betting-guide__note-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-blog-hk79-safe-betting-guide__note-list strong {
  color: var(--primary-color);
}

.page-blog-hk79-safe-betting-guide__content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-blog-hk79-safe-betting-guide__content-row--reversed {
  flex-direction: row-reverse;
}

.page-blog-hk79-safe-betting-guide__content-text {
  flex: 1;
}

.page-blog-hk79-safe-betting-guide__content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-hk79-safe-betting-guide__image-right,
.page-blog-hk79-safe-betting-guide__image-left {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-hk79-safe-betting-guide__faq-list {
  margin-top: 40px;
}

.page-blog-hk79-safe-betting-guide__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-hk79-safe-betting-guide__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2a2a2a;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-blog-hk79-safe-betting-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-hk79-safe-betting-guide__faq-item summary:hover {
  background-color: #3a3a3a;
}

.page-blog-hk79-safe-betting-guide__faq-qtext {
  flex-grow: 1;
  color: var(--primary-color);
}

.page-blog-hk79-safe-betting-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-blog-hk79-safe-betting-guide__faq-item[open] .page-blog-hk79-safe-betting-guide__faq-toggle {
  content: '−';
}

.page-blog-hk79-safe-betting-guide__faq-answer {
  padding: 20px 25px;
  background-color: #1a1a1a;
  color: var(--text-light);
  font-size: 1rem;
}

.page-blog-hk79-safe-betting-guide__section-conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-hk79-safe-betting-guide__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-blog-hk79-safe-betting-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-hk79-safe-betting-guide__intro-text {
    font-size: 1rem;
  }

  .page-blog-hk79-safe-betting-guide__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-blog-hk79-safe-betting-guide__content-row {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog-hk79-safe-betting-guide__content-row--reversed {
    flex-direction: column;
  }

  .page-blog-hk79-safe-betting-guide__image-right,
  .page-blog-hk79-safe-betting-guide__image-left {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-hk79-safe-betting-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-hk79-safe-betting-guide__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-blog-hk79-safe-betting-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  .page-blog-hk79-safe-betting-guide__intro-text {
    font-size: 0.95rem !important;
  }

  .page-blog-hk79-safe-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-hk79-safe-betting-guide__btn-primary,
  .page-blog-hk79-safe-betting-guide__btn-secondary,
  .page-blog-hk79-safe-betting-guide a[class*="button"],
  .page-blog-hk79-safe-betting-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-hk79-safe-betting-guide__cta-buttons,
  .page-blog-hk79-safe-betting-guide__button-group,
  .page-blog-hk79-safe-betting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-blog-hk79-safe-betting-guide__section {
    padding: 40px 0;
  }

  .page-blog-hk79-safe-betting-guide__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-blog-hk79-safe-betting-guide__text-block {
    font-size: 1rem;
  }

  .page-blog-hk79-safe-betting-guide__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-blog-hk79-safe-betting-guide__step-item {
    padding: 20px;
  }

  .page-blog-hk79-safe-betting-guide__note-section {
    padding: 20px;
  }

  .page-blog-hk79-safe-betting-guide__note-title {
    font-size: 1.3rem;
  }

  .page-blog-hk79-safe-betting-guide__note-list li {
    font-size: 0.95rem;
  }

  .page-blog-hk79-safe-betting-guide__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-hk79-safe-betting-guide__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-blog-hk79-safe-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-hk79-safe-betting-guide__section,
  .page-blog-hk79-safe-betting-guide__card,
  .page-blog-hk79-safe-betting-guide__container,
  .page-blog-hk79-safe-betting-guide__hero-section,
  .page-blog-hk79-safe-betting-guide__section-intro,
  .page-blog-hk79-safe-betting-guide__section-guide,
  .page-blog-hk79-safe-betting-guide__section-security,
  .page-blog-hk79-safe-betting-guide__section-deposit-promo,
  .page-blog-hk79-safe-betting-guide__section-betting,
  .page-blog-hk79-safe-betting-guide__section-faq,
  .page-blog-hk79-safe-betting-guide__section-conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-hk79-safe-betting-guide__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
}