/* style/blog-bingoplus-latest-news.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the page, ensuring text contrast against the shared body background */
.page-blog-bingoplus-latest-news {
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-blog-bingoplus-latest-news__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;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-bingoplus-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-bingoplus-latest-news__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Overlap slightly for visual flow, but not text on image */
  position: relative;
  z-index: 2;
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
}

.page-blog-bingoplus-latest-news__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-bingoplus-latest-news__hero-description {
  font-size: 1.1rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-blog-bingoplus-latest-news__section {
  padding: 60px 0;
  position: relative;
}

.page-blog-bingoplus-latest-news__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-blog-bingoplus-latest-news__content-wrapper {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
}

.page-blog-bingoplus-latest-news__content-wrapper p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.page-blog-bingoplus-latest-news__content-wrapper strong {
  color: var(--secondary-color);
}

.page-blog-bingoplus-latest-news__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-bingoplus-latest-news__flex-desktop {
  display: flex;
  gap: 30px;
  align-items: center;
}

.page-blog-bingoplus-latest-news__flex-desktop .page-blog-bingoplus-latest-news__text-content {
  flex: 1;
}

.page-blog-bingoplus-latest-news__flex-desktop .page-blog-bingoplus-latest-news__image-right,
.page-blog-bingoplus-latest-news__flex-desktop .page-blog-bingoplus-latest-news__image-left {
  flex-shrink: 0;
  width: 40%; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-bingoplus-latest-news__flex-reverse {
  flex-direction: row-reverse;
}

.page-blog-bingoplus-latest-news__image-center {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-blog-bingoplus-latest-news__btn-primary,
.page-blog-bingoplus-latest-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-bingoplus-latest-news__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-bingoplus-latest-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-blog-bingoplus-latest-news__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-blog-bingoplus-latest-news__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

/* Article Grid */
.page-blog-bingoplus-latest-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-bingoplus-latest-news__article-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-blog-bingoplus-latest-news__article-card:hover {
  transform: translateY(-5px);
}

.page-blog-bingoplus-latest-news__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-bingoplus-latest-news__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-bingoplus-latest-news__article-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog-bingoplus-latest-news__article-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog-bingoplus-latest-news__article-title a:hover {
  text-decoration: underline;
}

.page-blog-bingoplus-latest-news__article-excerpt {
  font-size: 0.95rem;
  color: var(--text-main-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog-bingoplus-latest-news__read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  align-self: flex-start;
}

.page-blog-bingoplus-latest-news__read-more:hover {
  text-decoration: underline;
}

.page-blog-bingoplus-latest-news__view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog-bingoplus-latest-news__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-blog-bingoplus-latest-news__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-bingoplus-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-bingoplus-latest-news__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-blog-bingoplus-latest-news__faq-title {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-blog-bingoplus-latest-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog-bingoplus-latest-news__faq-item.active .page-blog-bingoplus-latest-news__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-bingoplus-latest-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
}

.page-blog-bingoplus-latest-news__faq-item.active .page-blog-bingoplus-latest-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px 25px;
}

.page-blog-bingoplus-latest-news__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

.page-blog-bingoplus-latest-news__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-blog-bingoplus-latest-news__link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-bingoplus-latest-news__flex-desktop {
    flex-direction: column;
  }

  .page-blog-bingoplus-latest-news__flex-desktop .page-blog-bingoplus-latest-news__image-right,
  .page-blog-bingoplus-latest-news__flex-desktop .page-blog-bingoplus-latest-news__image-left {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
  }

  .page-blog-bingoplus-latest-news__flex-reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog-bingoplus-latest-news__hero-content {
    margin-top: -40px;
    padding: 30px 15px;
  }

  .page-blog-bingoplus-latest-news__main-title {
    font-size: 2rem;
  }

  .page-blog-bingoplus-latest-news__hero-description {
    font-size: 1rem;
  }

  .page-blog-bingoplus-latest-news__section-title {
    font-size: 1.8rem;
  }

  .page-blog-bingoplus-latest-news__section {
    padding: 40px 0;
  }

  .page-blog-bingoplus-latest-news__content-wrapper {
    padding: 20px;
  }

  .page-blog-bingoplus-latest-news__article-image {
    height: 180px;
  }

  .page-blog-bingoplus-latest-news__article-title {
    font-size: 1.1rem;
  }

  .page-blog-bingoplus-latest-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-bingoplus-latest-news__btn-primary,
  .page-blog-bingoplus-latest-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile image responsiveness */
  .page-blog-bingoplus-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-bingoplus-latest-news__section,
  .page-blog-bingoplus-latest-news__card,
  .page-blog-bingoplus-latest-news__container,
  .page-blog-bingoplus-latest-news__content-wrapper,
  .page-blog-bingoplus-latest-news__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No video section on this page, but if there was, this would apply */
  /* .page-blog-bingoplus-latest-news__video-section { padding-top: 10px !important; } */

  .page-blog-bingoplus-latest-news__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-bingoplus-latest-news__faq-answer {
    padding: 0 20px;
  }

  .page-blog-bingoplus-latest-news__faq-item.active .page-blog-bingoplus-latest-news__faq-answer {
    padding: 10px 20px 20px 20px;
  }
}