/* style/resources-betvisa88-latest-news.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-background: #1a1a2e;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background: #ffffff;
  --card-border: #e0e0e0;
}

.page-resources-betvisa88-latest-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text); /* Default text color for dark body background */
  background-color: var(--dark-background); /* Inherited from shared.css body */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-betvisa88-latest-news__dark-bg {
  background-color: var(--dark-background);
  color: var(--light-text);
}

.page-resources-betvisa88-latest-news__light-bg {
  background-color: var(--card-background);
  color: var(--dark-text);
}

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

.page-resources-betvisa88-latest-news__text-center {
  text-align: center;
}

.page-resources-betvisa88-latest-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  gap: 40px;
}

.page-resources-betvisa88-latest-news__hero-content {
  max-width: 900px;
  margin-bottom: 20px;
}

.page-resources-betvisa88-latest-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--light-text);
  line-height: 1.2;
}

.page-resources-betvisa88-latest-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-betvisa88-latest-news__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-betvisa88-latest-news__btn-primary,
.page-resources-betvisa88-latest-news__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-resources-betvisa88-latest-news__btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.page-resources-betvisa88-latest-news__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

.page-resources-betvisa88-latest-news__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--dark-background);
}

.page-resources-betvisa88-latest-news__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-resources-betvisa88-latest-news__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.page-resources-betvisa88-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-resources-betvisa88-latest-news__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section */
}

.page-resources-betvisa88-latest-news__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-betvisa88-latest-news__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit; /* Inherit from section */
}

.page-resources-betvisa88-latest-news__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 100%;
}

.page-resources-betvisa88-latest-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-betvisa88-latest-news__card {
  background-color: var(--card-background);
  color: var(--dark-text);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-betvisa88-latest-news__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-resources-betvisa88-latest-news__card-title {
  font-size: 1.5em;
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.page-resources-betvisa88-latest-news__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-betvisa88-latest-news__card-title a:hover {
  text-decoration: underline;
}

.page-resources-betvisa88-latest-news__card .page-resources-betvisa88-latest-news__paragraph {
  padding: 0 20px;
  font-size: 1em;
  flex-grow: 1;
}

.page-resources-betvisa88-latest-news__card-link {
  display: inline-block;
  padding: 10px 20px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-betvisa88-latest-news__card-link:hover {
  text-decoration: underline;
}

.page-resources-betvisa88-latest-news__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-resources-betvisa88-latest-news__text-block {
  flex: 2;
}

.page-resources-betvisa88-latest-news__image-block {
  flex: 1;
}

.page-resources-betvisa88-latest-news__image-block .page-resources-betvisa88-latest-news__image {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-betvisa88-latest-news__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-betvisa88-latest-news__faq-list {
  margin-top: 40px;
}

.page-resources-betvisa88-latest-news__faq-item {
  background-color: var(--dark-background);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--light-text);
}

.page-resources-betvisa88-latest-news__faq-item.active {
  background-color: #2a2a4a; /* Slightly lighter dark for active state */
}

.page-resources-betvisa88-latest-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-resources-betvisa88-latest-news__faq-question:hover {
  background-color: darken(var(--primary-color), 10%);
}

.page-resources-betvisa88-latest-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-betvisa88-latest-news__faq-item.active .page-resources-betvisa88-latest-news__faq-toggle {
  transform: rotate(45deg); /* Or change to '-' */
}

.page-resources-betvisa88-latest-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--light-text);
}

.page-resources-betvisa88-latest-news__faq-item.active .page-resources-betvisa88-latest-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-betvisa88-latest-news__hero-title {
    font-size: 2.8em;
  }
  .page-resources-betvisa88-latest-news__heading {
    font-size: 2.2em;
  }
  .page-resources-betvisa88-latest-news__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-resources-betvisa88-latest-news__image-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-betvisa88-latest-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-betvisa88-latest-news__hero-section {
    padding: 60px 15px;
  }
  .page-resources-betvisa88-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-resources-betvisa88-latest-news__hero-description {
    font-size: 1em;
  }
  .page-resources-betvisa88-latest-news__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-betvisa88-latest-news__btn-primary,
  .page-resources-betvisa88-latest-news__btn-secondary,
  .page-resources-betvisa88-latest-news a[class*="button"],
  .page-resources-betvisa88-latest-news 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-resources-betvisa88-latest-news__hero-cta-group,
  .page-resources-betvisa88-latest-news__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-betvisa88-latest-news__container,
  .page-resources-betvisa88-latest-news__cta-section {
    padding: 30px 15px;
  }
  .page-resources-betvisa88-latest-news__heading {
    font-size: 1.8em;
  }
  .page-resources-betvisa88-latest-news__sub-heading {
    font-size: 1.5em;
  }
  .page-resources-betvisa88-latest-news__paragraph {
    font-size: 1em;
  }
  .page-resources-betvisa88-latest-news__grid {
    grid-template-columns: 1fr;
  }
  .page-resources-betvisa88-latest-news__card-title {
    font-size: 1.3em;
  }
  .page-resources-betvisa88-latest-news__faq-question {
    font-size: 1.1em;
  }
  .page-resources-betvisa88-latest-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-betvisa88-latest-news__section,
  .page-resources-betvisa88-latest-news__card,
  .page-resources-betvisa88-latest-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-betvisa88-latest-news__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-betvisa88-latest-news video,
  .page-resources-betvisa88-latest-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-betvisa88-latest-news__video-section,
  .page-resources-betvisa88-latest-news__video-container,
  .page-resources-betvisa88-latest-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Ensure all content images are at least 200px */
.page-resources-betvisa88-latest-news__image,
.page-resources-betvisa88-latest-news__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast fixes for specific elements */
.page-resources-betvisa88-latest-news__card {
  background-color: var(--card-background);
  color: var(--dark-text);
}
.page-resources-betvisa88-latest-news__card .page-resources-betvisa88-latest-news__paragraph {
  color: var(--dark-text);
}