/* style/resources-win79-slot-best-strategies.css */
.page-resources-win79-slot-best-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-win79-slot-best-strategies__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__light-bg {
  background-color: #0a0a0a; /* Body background color from shared.css */
  color: #ffffff; /* Ensure text is white on dark background */
}

.page-resources-win79-slot-best-strategies__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-win79-slot-best-strategies__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  flex-wrap: wrap;
}

.page-resources-win79-slot-best-strategies__hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  padding-left: 20px;
}

.page-resources-win79-slot-best-strategies__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-win79-slot-best-strategies__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-resources-win79-slot-best-strategies__btn-primary,
.page-resources-win79-slot-best-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-win79-slot-best-strategies__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-win79-slot-best-strategies__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-resources-win79-slot-best-strategies__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-win79-slot-best-strategies__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Specific button colors for Register/Login */
.page-resources-win79-slot-best-strategies__btn-register,
.page-resources-win79-slot-best-strategies__btn-login {
  background-color: #C30808; /* Register/Login background */
  color: #ffffff; /* White text for contrast on red background */
  border-color: #C30808;
}

.page-resources-win79-slot-best-strategies__btn-register:hover,
.page-resources-win79-slot-best-strategies__btn-login:hover {
  background-color: #a30707;
  border-color: #a30707;
}

.page-resources-win79-slot-best-strategies__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: right;
}

.page-resources-win79-slot-best-strategies__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-left: auto; /* Align right */
}

.page-resources-win79-slot-best-strategies__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
}

.page-resources-win79-slot-best-strategies__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-win79-slot-best-strategies__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-win79-slot-best-strategies__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-resources-win79-slot-best-strategies__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-resources-win79-slot-best-strategies__card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-resources-win79-slot-best-strategies__card-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-win79-slot-best-strategies__card-sub-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__list {
  list-style: none;
  padding: 0;
}

.page-resources-win79-slot-best-strategies__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-win79-slot-best-strategies__list-item-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__list-item-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__list-item ul {
  list-style: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__list-item li {
  margin-bottom: 5px;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__faq-container {
  margin-top: 30px;
}

.page-resources-win79-slot-best-strategies__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-win79-slot-best-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-win79-slot-best-strategies__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-win79-slot-best-strategies__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__faq-item.active .page-resources-win79-slot-best-strategies__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-win79-slot-best-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-win79-slot-best-strategies__faq-item.active .page-resources-win79-slot-best-strategies__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
}

.page-resources-win79-slot-best-strategies__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-win79-slot-best-strategies__cta-content {
  position: relative;
  z-index: 1;
}

.page-resources-win79-slot-best-strategies__cta-section .page-resources-win79-slot-best-strategies__section-title {
  color: #ffffff;
}

.page-resources-win79-slot-best-strategies__cta-section .page-resources-win79-slot-best-strategies__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-win79-slot-best-strategies__cta-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.2;
  max-width: 50%;
  height: auto;
  z-index: 0;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-win79-slot-best-strategies__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-resources-win79-slot-best-strategies__hero-content {
    padding-right: 0;
    padding-bottom: 40px;
    padding-left: 0;
  }

  .page-resources-win79-slot-best-strategies__hero-image-wrapper {
    min-width: unset;
    text-align: center;
  }

  .page-resources-win79-slot-best-strategies__hero-image {
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-win79-slot-best-strategies__hero-title {
    font-size: 2.8em;
  }

  .page-resources-win79-slot-best-strategies__hero-description {
    font-size: 1em;
  }

  .page-resources-win79-slot-best-strategies__section-title {
    font-size: 2em;
  }
}