/* style/blog-how-to-play-online-casino-safely.css */

/* Base styles for the page */
.page-blog-how-to-play-online-casino-safely {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

.page-blog-how-to-play-online-casino-safely__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-to-play-online-casino-safely__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--background);
  overflow: hidden;
}

.page-blog-how-to-play-online-casino-safely__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-blog-how-to-play-online-casino-safely__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-blog-how-to-play-online-casino-safely__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-blog-how-to-play-online-casino-safely__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  max-width: 100%; /* H1 font-size is not hardcoded, use weight/line-height */
  font-size: clamp(2em, 5vw, 3.5em);
}

.page-blog-how-to-play-online-casino-safely__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-blog-how-to-play-online-casino-safely__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-how-to-play-online-casino-safely__sub-title {
  font-size: 1.8em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-how-to-play-online-casino-safely__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-how-to-play-online-casino-safely__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-how-to-play-online-casino-safely__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-blog-how-to-play-online-casino-safely__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-blog-how-to-play-online-casino-safely__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-how-to-play-online-casino-safely__btn-primary,
.page-blog-how-to-play-online-casino-safely__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-how-to-play-online-casino-safely__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-how-to-play-online-casino-safely__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 5px 15px var(--glow);
}

.page-blog-how-to-play-online-casino-safely__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-blog-how-to-play-online-casino-safely__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a4e9e;
  border-color: #1a4e9e;
}

/* Background color specific classes for contrast */
.page-blog-how-to-play-online-casino-safely__light-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-blog-how-to-play-online-casino-safely__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-blog-how-to-play-online-casino-safely__dark-bg .page-blog-how-to-play-online-casino-safely__section-title,
.page-blog-how-to-play-online-casino-safely__dark-bg .page-blog-how-to-play-online-casino-safely__sub-title,
.page-blog-how-to-play-online-casino-safely__dark-bg .page-blog-how-to-play-online-casino-safely__paragraph,
.page-blog-how-to-play-online-casino-safely__dark-bg .page-blog-how-to-play-online-casino-safely__list,
.page-blog-how-to-play-online-casino-safely__dark-bg .page-blog-how-to-play-online-casino-safely__list li {
  color: #ffffff;
}

/* FAQ Section */
.page-blog-how-to-play-online-casino-safely__faq-section {
  padding: 60px 0;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-blog-how-to-play-online-casino-safely__faq-section .page-blog-how-to-play-online-casino-safely__section-title {
  color: #ffffff;
}

.page-blog-how-to-play-online-casino-safely__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-play-online-casino-safely__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog-how-to-play-online-casino-safely__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.page-blog-how-to-play-online-casino-safely__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-play-online-casino-safely__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-play-online-casino-safely__faq-qtext {
  flex-grow: 1;
}

.page-blog-how-to-play-online-casino-safely__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-how-to-play-online-casino-safely__faq-item[open] .page-blog-how-to-play-online-casino-safely__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-how-to-play-online-casino-safely__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog-how-to-play-online-casino-safely__faq-answer p {
  margin-bottom: 0;
  color: #ffffff;
}

/* Conclusion Section */
.page-blog-how-to-play-online-casino-safely__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background);
  color: var(--text-main);
}

/* General Content Area */
.page-blog-how-to-play-online-casino-safely__content-area {
  padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-to-play-online-casino-safely__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-blog-how-to-play-online-casino-safely__section-title {
    font-size: 2em;
  }
  .page-blog-how-to-play-online-casino-safely__sub-title {
    font-size: 1.5em;
  }
  .page-blog-how-to-play-online-casino-safely__hero-content {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-play-online-casino-safely {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-how-to-play-online-casino-safely__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-how-to-play-online-casino-safely__hero-content {
    padding: 15px;
  }

  .page-blog-how-to-play-online-casino-safely__main-title {
    font-size: clamp(1.5em, 8vw, 2.5em) !important;
    margin-bottom: 10px;
  }

  .page-blog-how-to-play-online-casino-safely__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-how-to-play-online-casino-safely__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-how-to-play-online-casino-safely__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-how-to-play-online-casino-safely__paragraph,
  .page-blog-how-to-play-online-casino-safely__list li {
    font-size: 1em;
  }

  .page-blog-how-to-play-online-casino-safely__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-how-to-play-online-casino-safely__btn-primary,
  .page-blog-how-to-play-online-casino-safely__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;
  }

  .page-blog-how-to-play-online-casino-safely__content-area,
  .page-blog-how-to-play-online-casino-safely__faq-section,
  .page-blog-how-to-play-online-casino-safely__conclusion-section {
    padding: 40px 0;
  }

  .page-blog-how-to-play-online-casino-safely__container,
  .page-blog-how-to-play-online-casino-safely__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-how-to-play-online-casino-safely img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-how-to-play-online-casino-safely__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure no image filters are applied */
  .page-blog-how-to-play-online-casino-safely img {
    filter: none; /* Reset any filters */
  }

  .page-blog-how-to-play-online-casino-safely__hero-image {
    filter: brightness(0.7) !important; /* Re-apply brightness filter for hero image for text contrast */
  }
}

/* Ensure no image filters are applied globally to content images */
.page-blog-how-to-play-online-casino-safely__image-inline {
  filter: none;
}

/* Content area images minimum size check for CSS */
.page-blog-how-to-play-online-casino-safely__content-area img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-blog-how-to-play-online-casino-safely__content-area img {
    min-width: unset;
    min-height: unset;
  }
}