.page-resources-online-poker-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF;
}

.page-resources-online-poker-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-online-poker-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #f5f5f5;
  color: #333333;
}

.page-resources-online-poker-guide__hero-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-online-poker-guide__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-resources-online-poker-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-resources-online-poker-guide__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-poker-guide__section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-online-poker-guide__introduction-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-online-poker-guide__guide-section {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-online-poker-guide__strategy-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-online-poker-guide__game-types-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-online-poker-guide__promotions-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-online-poker-guide__security-section {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-online-poker-guide__faq-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-online-poker-guide__cta-bottom-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding-bottom: 80px;
}

.page-resources-online-poker-guide__section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section */
}

.page-resources-online-poker-guide__strategy-section .page-resources-online-poker-guide__section-title,
.page-resources-online-poker-guide__promotions-section .page-resources-online-poker-guide__section-title,
.page-resources-online-poker-guide__cta-bottom-section .page-resources-online-poker-guide__section-title {
  color: #ffffff; /* White title on brand color background */
}

.page-resources-online-poker-guide__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: inherit;
}

.page-resources-online-poker-guide__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-online-poker-guide__dark-bg .page-resources-online-poker-guide__text-block a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-resources-online-poker-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-resources-online-poker-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-online-poker-guide__btn-primary:hover {
  background-color: #1f8ec4;
  border-color: #1f8ec4;
}

.page-resources-online-poker-guide__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-online-poker-guide__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1f8ec4;
  border-color: #1f8ec4;
}

/* Specific style for login/register button */
.page-resources-online-poker-guide__btn-secondary[style*="#EA7C07"] {
  background-color: #EA7C07;
  color: #FFFFFF;
  border-color: #EA7C07;
}

.page-resources-online-poker-guide__btn-secondary[style*="#EA7C07"]:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

.page-resources-online-poker-guide__image-and-text {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-online-poker-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-resources-online-poker-guide__text-content {
  flex: 2;
}

.page-resources-online-poker-guide__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-poker-guide__image-full-width {
  max-width: 100%;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-poker-guide__subsection-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources-online-poker-guide__strategy-section .page-resources-online-poker-guide__subsection-title {
  color: #ffffff;
}

.page-resources-online-poker-guide__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  max-width: 900px;
  text-align: left;
  color: inherit;
}

.page-resources-online-poker-guide__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1em;
}

.page-resources-online-poker-guide__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

.page-resources-online-poker-guide__strategy-section .page-resources-online-poker-guide__list-item::before,
.page-resources-online-poker-guide__promotions-section .page-resources-online-poker-guide__list-item::before {
  color: #FFFFFF;
}

.page-resources-online-poker-guide__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-poker-guide__strategy-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-resources-online-poker-guide__strategy-card:hover {
  transform: translateY(-5px);
}

.page-resources-online-poker-guide__card-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-resources-online-poker-guide__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-online-poker-guide__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-poker-guide__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0; /* Added for contrast */
}

.page-resources-online-poker-guide__card:hover {
  transform: translateY(-5px);
}

.page-resources-online-poker-guide__card .page-resources-online-poker-guide__card-title {
  color: #26A9E0;
}

.page-resources-online-poker-guide__card .page-resources-online-poker-guide__card-text {
  color: #555555;
}

.page-resources-online-poker-guide__promotions-list {
  margin-top: 40px;
  color: #ffffff;
}

.page-resources-online-poker-guide__promotions-list .page-resources-online-poker-guide__list-item {
  color: #ffffff;
}

.page-resources-online-poker-guide__promotions-list .page-resources-online-poker-guide__list-item a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-resources-online-poker-guide__security-features {
  margin-top: 40px;
  color: #333333;
}

.page-resources-online-poker-guide__security-features .page-resources-online-poker-guide__list-item a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-online-poker-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-resources-online-poker-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-online-poker-guide__faq-item[open] {
  background-color: #FFFFFF;
  border-color: #26A9E0;
}

.page-resources-online-poker-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #26A9E0;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-resources-online-poker-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-online-poker-guide__faq-qtext {
  flex-grow: 1;
}

.page-resources-online-poker-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-online-poker-guide__faq-item[open] .page-resources-online-poker-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-online-poker-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
}

.page-resources-online-poker-guide__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-resources-online-poker-guide__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-online-poker-guide__keyword {
  font-weight: bold;
  color: #26A9E0;
}

.page-resources-online-poker-guide__dark-bg .page-resources-online-poker-guide__keyword {
  color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-online-poker-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-online-poker-guide__section-title {
    font-size: 2em;
  }

  .page-resources-online-poker-guide__image-and-text {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-online-poker-guide__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-resources-online-poker-guide__text-content {
    text-align: center;
  }

  .page-resources-online-poker-guide__subsection-title,
  .page-resources-online-poker-guide__list,
  .page-resources-online-poker-guide__list-item {
    text-align: center;
  }

  .page-resources-online-poker-guide__list-item::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-resources-online-poker-guide__list-item {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .page-resources-online-poker-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-online-poker-guide__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-online-poker-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-poker-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-online-poker-guide__section {
    padding: 50px 0;
  }

  .page-resources-online-poker-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-online-poker-guide__text-block {
    font-size: 1em;
  }

  .page-resources-online-poker-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-poker-guide__btn-primary,
  .page-resources-online-poker-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-online-poker-guide__container,
  .page-resources-online-poker-guide__strategy-grid,
  .page-resources-online-poker-guide__game-cards,
  .page-resources-online-poker-guide__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-online-poker-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-online-poker-guide__image-wrapper,
  .page-resources-online-poker-guide__hero-image-wrapper,
  .page-resources-online-poker-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-online-poker-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-online-poker-guide__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-resources-online-poker-guide__list-item {
    font-size: 1em;
  }

  .page-resources-online-poker-guide__card,
  .page-resources-online-poker-guide__strategy-card {
    padding: 20px;
  }
}