.page-gambling-glossary-kelly-criterion {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0F1D3C; /* Darker blue background */
}

.page-gambling-glossary-kelly-criterion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gambling-glossary-kelly-criterion-hero {
  background: linear-gradient(135deg, #1A2B5B, #0F1D3C);
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-gambling-glossary-kelly-criterion-main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gambling-glossary-kelly-criterion-subtitle {
  font-size: 1.3em;
  color: #B0C4DE; /* Lighter blue for subtitle */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gambling-glossary-kelly-criterion-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button background */
  color: #1A2B5B; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gambling-glossary-kelly-criterion-cta-button:hover {
  background-color: #e5c100; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-gambling-glossary-kelly-criterion-content-section {
  padding: 60px 0;
}

.page-gambling-glossary-kelly-criterion-section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 3px solid #1A2B5B; /* Dark blue underline */
  padding-bottom: 10px;
}

.page-gambling-glossary-kelly-criterion-section-title:first-of-type {
  margin-top: 0;
}

.page-gambling-glossary-kelly-criterion p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-gambling-glossary-kelly-criterion .highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-gambling-glossary-kelly-criterion-list,
.page-gambling-glossary-kelly-criterion-ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-gambling-glossary-kelly-criterion-ordered-list {
  list-style-type: decimal;
}

.page-gambling-glossary-kelly-criterion-list li,
.page-gambling-glossary-kelly-criterion-ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gambling-glossary-kelly-criterion-formula-box {
  background-color: #1A2B5B; /* Dark blue background for formula */
  border: 1px solid #FFD700; /* Gold border */
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 1.4em;
  color: #FFFFFF;
}

.page-gambling-glossary-kelly-criterion-formula-box code {
  color: #FFD700;
}

.page-gambling-glossary-kelly-criterion-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gambling-glossary-kelly-criterion-cta-section {
  background-color: #1A2B5B; /* Dark blue background */
  padding: 50px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.page-gambling-glossary-kelly-criterion-cta-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for CTA title */
  margin-bottom: 20px;
}

.page-gambling-glossary-kelly-criterion-cta-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #B0C4DE;
}

.page-gambling-glossary-kelly-criterion-cta-section .page-gambling-glossary-kelly-criterion-cta-button {
  margin: 0 10px;
}

.page-gambling-glossary-kelly-criterion-download-button {
  background-color: #28a745; /* Green for download button */
  color: #FFFFFF;
}

.page-gambling-glossary-kelly-criterion-download-button:hover {
  background-color: #218838;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gambling-glossary-kelly-criterion-main-title {
    font-size: 2.5em;
  }

  .page-gambling-glossary-kelly-criterion-subtitle {
    font-size: 1.1em;
  }

  .page-gambling-glossary-kelly-criterion-section-title {
    font-size: 1.8em;
  }

  .page-gambling-glossary-kelly-criterion p,
  .page-gambling-glossary-kelly-criterion-list li,
  .page-gambling-glossary-kelly-criterion-ordered-list li {
    font-size: 1em;
  }

  .page-gambling-glossary-kelly-criterion-cta-title {
    font-size: 2em;
  }

  .page-gambling-glossary-kelly-criterion-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-gambling-glossary-kelly-criterion-main-title {
    font-size: 2em;
  }

  .page-gambling-glossary-kelly-criterion-section-title {
    font-size: 1.5em;
  }

  .page-gambling-glossary-kelly-criterion-cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}