.page-xo-so-types-and-results {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-xo-so-types-and-results .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-xo-types-and-results .section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-xo-so-types-and-results .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-xo-so-types-and-results .hero-banner {
  position: relative;
  width: 100%;
  height: 450px; /* Increased height for better visual impact */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-xo-so-types-and-results .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-xo-so-types-and-results .hero-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 51, 102, 0.7); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  color: #ffffff;
}

.page-xo-so-types-and-results .hero-title {
  font-size: 3em;
  color: #FFCC00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-xo-so-types-and-results .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-xo-so-types-and-results .hero-description a {
  color: #FFCC00;
  text-decoration: underline;
}

.page-xo-so-types-and-results .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFCC00;
  color: #003366;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so-types-and-results .cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-xo-so-types-and-results .section-intro, 
.page-xo-so-types-and-results .section-lottery-types, 
.page-xo-so-types-and-results .section-results-guide, 
.page-xo-so-types-and-results .section-tips, 
.page-xo-so-types-and-results .section-why-choose, 
.page-xo-so-types-and-results .section-faq {
  padding: 60px 0;
}

.page-xo-so-types-and-results .section-intro p,
.page-xo-so-types-and-results .section-tips ul,
.page-xo-so-types-and-results .section-tips p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-xo-so-types-and-results .section-intro p a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-xo-so-types-and-results .section-intro p a:hover {
  text-decoration: underline;
}

.page-xo-so-types-and-results .lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so-types-and-results .lottery-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-xo-so-types-and-results .lottery-card:hover {
  transform: translateY(-5px);
}

.page-xo-so-types-and-results .lottery-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-xo-so-types-and-results .lottery-card .card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-xo-so-types-and-results .lottery-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-xo-so-types-and-results .lottery-card ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #555555;
}

.page-xo-so-types-and-results .lottery-card ul li {
  margin-bottom: 5px;
}

.page-xo-so-types-and-results .lottery-card a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-xo-so-types-and-results .lottery-card a:hover {
  text-decoration: underline;
}

.page-xo-so-types-and-results .button-group {
  text-align: center;
  margin-top: 50px;
}

.page-xo-so-types-and-results .info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so-types-and-results .info-block {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-xo-so-types-and-results .info-block .block-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-xo-so-types-and-results .info-block p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
  text-align: justify;
}

.page-xo-so-types-and-results .info-block .block-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-xo-so-types-and-results .section-tips ul {
  list-style-type: none;
  padding-left: 0;
}

.page-xo-so-types-and-results .section-tips ul li {
  background-color: #ffffff;
  border-left: 5px solid #FFCC00;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
}

.page-xo-so-types-and-results .section-tips ul li strong {
  color: #003366;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-xo-so-types-and-results .section-tips ul li a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-xo-so-types-and-results .section-tips ul li a:hover {
  text-decoration: underline;
}

.page-xo-so-types-and-results .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so-types-and-results .feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-xo-so-types-and-results .feature-item .feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-xo-so-types-and-results .feature-item p {
  font-size: 1em;
  color: #555555;
  text-align: justify;
  flex-grow: 1;
}

.page-xo-so-types-and-results .feature-item .block-image {
  width: 100%;
  max-width: 300px; /* Constrain width for feature images */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* FAQ Styles */
.page-xo-so-types-and-results .faq-list {
  margin-top: 40px;
}

.page-xo-so-types-and-results .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-xo-so-types-and-results .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-xo-so-types-and-results .faq-question:hover {
  background: #f5f5f5;
}

.page-xo-so-types-and-results .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #003366;
  font-weight: bold;
}

.page-xo-so-types-and-results .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-xo-so-types-and-results .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #003366;
}

.page-xo-so-types-and-results .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.page-xo-so-types-and-results .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-xo-so-types-and-results .faq-answer p {
  margin: 0;
  color: #555555;
  font-size: 1em;
  text-align: justify;
}

.page-xo-so-types-and-results .faq-answer p a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-xo-so-types-and-results .faq-answer p a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-xo-so-types-and-results .hero-title {
    font-size: 2.5em;
  }
  .page-xo-so-types-and-results .hero-description {
    font-size: 1.1em;
  }
  .page-xo-so-types-and-results .section-title {
    font-size: 2em;
  }
  .page-xo-so-types-and-results .lottery-grid,
  .page-xo-so-types-and-results .info-blocks,
  .page-xo-so-types-and-results .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-xo-so-types-and-results .hero-banner {
    height: 400px;
  }
  .page-xo-so-types-and-results .hero-overlay {
    padding: 30px;
  }
  .page-xo-so-types-and-results .hero-title {
    font-size: 2em;
  }
  .page-xo-so-types-and-results .hero-description {
    font-size: 1em;
  }
  .page-xo-so-types-and-results .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-xo-so-types-and-results .section-intro, 
  .page-xo-so-types-and-results .section-lottery-types, 
  .page-xo-so-types-and-results .section-results-guide, 
  .page-xo-so-types-and-results .section-tips, 
  .page-xo-so-types-and-results .section-why-choose, 
  .page-xo-so-types-and-results .section-faq {
    padding: 40px 0;
  }
  .page-xo-so-types-and-results .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-xo-so-types-and-results .lottery-card,
  .page-xo-so-types-and-results .info-block,
  .page-xo-so-types-and-results .feature-item {
    padding: 20px;
  }
  .page-xo-so-types-and-results .lottery-card .card-title,
  .page-xo-so-types-and-results .info-block .block-title,
  .page-xo-so-types-and-results .feature-item .feature-title {
    font-size: 1.3em;
  }
  .page-xo-so-types-and-results .faq-question {
    padding: 15px 20px;
  }
  .page-xo-so-types-and-results .faq-question h3 {
    font-size: 1.1em;
  }
  .page-xo-so-types-and-results .faq-toggle {
    font-size: 1.5em;
  }
  .page-xo-so-types-and-results .faq-answer {
    padding: 0 20px;
  }
  .page-xo-so-types-and-results .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-xo-so-types-and-results .hero-banner {
    height: 350px;
  }
  .page-xo-so-types-and-results .hero-overlay {
    padding: 20px;
  }
  .page-xo-so-types-and-results .hero-title {
    font-size: 1.8em;
  }
  .page-xo-so-types-and-results .hero-description {
    font-size: 0.9em;
  }
  .page-xo-so-types-and-results .section-title {
    font-size: 1.5em;
  }
  .page-xo-so-types-and-results .lottery-grid,
  .page-xo-so-types-and-results .info-blocks,
  .page-xo-so-types-and-results .features-grid {
    grid-template-columns: 1fr;
  }
  .page-xo-so-types-and-results .lottery-card .card-image,
  .page-xo-so-types-and-results .info-block .block-image,
  .page-xo-so-types-and-results .feature-item .block-image {
    height: 180px;
  }
  .page-xo-so-types-and-results .section-tips ul li {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-xo-so-types-and-results .section-tips ul li strong {
    font-size: 1.1em;
  }
}