/* style/blog-mmoo-latest-news-faq.css */

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

.page-blog-mmoo-latest-news-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Body background is dark, so text should be light */
  background-color: var(--background-dark);
}

.page-blog-mmoo-latest-news-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-mmoo-latest-news-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-blog-mmoo-latest-news-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-blog-mmoo-latest-news-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-mmoo-latest-news-faq__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-mmoo-latest-news-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-mmoo-latest-news-faq__description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-mmoo-latest-news-faq__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-mmoo-latest-news-faq__btn-primary,
.page-blog-mmoo-latest-news-faq__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, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-mmoo-latest-news-faq__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-mmoo-latest-news-faq__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-blog-mmoo-latest-news-faq__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-mmoo-latest-news-faq__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__latest-news-section,
.page-blog-mmoo-latest-news-faq__faq-section,
.page-blog-mmoo-latest-news-faq__cta-bottom-section,
.page-blog-mmoo-latest-news-faq__responsible-gambling-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-blog-mmoo-latest-news-faq__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-mmoo-latest-news-faq__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-mmoo-latest-news-faq__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-mmoo-latest-news-faq__news-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-on-dark);
}

.page-blog-mmoo-latest-news-faq__news-card:hover {
  transform: translateY(-5px);
}

.page-blog-mmoo-latest-news-faq__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog-mmoo-latest-news-faq__news-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-mmoo-latest-news-faq__news-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.page-blog-mmoo-latest-news-faq__news-card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-mmoo-latest-news-faq__news-card-title a:hover {
  color: var(--primary-color);
}

.page-blog-mmoo-latest-news-faq__news-card-date {
  font-size: 0.9em;
  color: #aaa;
  margin-bottom: 15px;
}

.page-blog-mmoo-latest-news-faq__news-card-excerpt {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-mmoo-latest-news-faq__read-more-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-mmoo-latest-news-faq__read-more-btn:hover {
  background-color: #1e87b7;
}

.page-blog-mmoo-latest-news-faq__view-all {
  text-align: center;
}

.page-blog-mmoo-latest-news-faq__faq-list {
  margin-top: 20px;
}

.page-blog-mmoo-latest-news-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  color: var(--text-on-dark);
}

.page-blog-mmoo-latest-news-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-mmoo-latest-news-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-mmoo-latest-news-faq__faq-item[open] .page-blog-mmoo-latest-news-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-mmoo-latest-news-faq__faq-answer {
  padding-top: 15px;
  font-size: 1em;
  color: #cccccc;
}

.page-blog-mmoo-latest-news-faq__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section {
  background: linear-gradient(135deg, var(--primary-color), #1e87b7);
  color: var(--secondary-color);
  text-align: center;
  padding: 80px 0;
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__section-title {
  color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__section-description {
  color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__cta-buttons .page-blog-mmoo-latest-news-faq__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__cta-buttons .page-blog-mmoo-latest-news-faq__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__cta-buttons .page-blog-mmoo-latest-news-faq__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-blog-mmoo-latest-news-faq__cta-bottom-section .page-blog-mmoo-latest-news-faq__cta-buttons .page-blog-mmoo-latest-news-faq__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-blog-mmoo-latest-news-faq__responsible-gambling-section {
  background-color: #0d0d0d;
  text-align: center;
  padding: 50px 0;
}

.page-blog-mmoo-latest-news-faq__responsible-gambling-section .page-blog-mmoo-latest-news-faq__section-title {
  font-size: 2em;
  margin-bottom: 15px;
}

.page-blog-mmoo-latest-news-faq__responsible-gambling-section .page-blog-mmoo-latest-news-faq__section-description {
  font-size: 1em;
  margin-bottom: 30px;
}

.page-blog-mmoo-latest-news-faq__learn-more-btn {
  display: inline-block;
  background-color: #EA7C07; /* Login color for contrast */
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-mmoo-latest-news-faq__learn-more-btn:hover {
  background-color: #c96706;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-mmoo-latest-news-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-mmoo-latest-news-faq__container,
  .page-blog-mmoo-latest-news-faq__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-mmoo-latest-news-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-mmoo-latest-news-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-mmoo-latest-news-faq__description {
    font-size: 1em;
  }

  .page-blog-mmoo-latest-news-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-blog-mmoo-latest-news-faq__btn-primary,
  .page-blog-mmoo-latest-news-faq__btn-secondary,
  .page-blog-mmoo-latest-news-faq a[class*="button"],
  .page-blog-mmoo-latest-news-faq 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-mmoo-latest-news-faq__latest-news-section,
  .page-blog-mmoo-latest-news-faq__faq-section,
  .page-blog-mmoo-latest-news-faq__cta-bottom-section,
  .page-blog-mmoo-latest-news-faq__responsible-gambling-section {
    padding: 40px 0;
  }

  .page-blog-mmoo-latest-news-faq__section-title {
    font-size: 2em;
  }

  .page-blog-mmoo-latest-news-faq__section-description {
    font-size: 0.95em;
  }

  .page-blog-mmoo-latest-news-faq__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-mmoo-latest-news-faq__news-card-image {
    height: 180px;
  }

  .page-blog-mmoo-latest-news-faq__news-card-title {
    font-size: 1.2em;
  }

  .page-blog-mmoo-latest-news-faq__faq-item summary {
    font-size: 1.1em;
  }

  .page-blog-mmoo-latest-news-faq__faq-answer {
    font-size: 0.95em;
  }

  .page-blog-mmoo-latest-news-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-blog-mmoo-latest-news-faq__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-blog-mmoo-latest-news-faq__section-title {
    font-size: 1.8em;
  }
}