/* style/blog-how-to-leverage-f18678-code.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --body-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-blog-how-to-leverage-f18678-code {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Body background is light, so text should be dark */
  line-height: 1.6;
  background-color: var(--body-bg);
}

/* HERO Section */
.page-blog-how-to-leverage-f18678-code__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
}

.page-blog-how-to-leverage-f18678-code__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog-how-to-leverage-f18678-code__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-how-to-leverage-f18678-code__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog-how-to-leverage-f18678-code__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width for readability */
}

.page-blog-how-to-leverage-f18678-code__hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-blog-how-to-leverage-f18678-code__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-leverage-f18678-code__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-how-to-leverage-f18678-code__cta-button:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Content Area */
.page-blog-how-to-leverage-f18678-code__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--body-bg);
  box-sizing: border-box;
}

.page-blog-how-to-leverage-f18678-code__article h2,
.page-blog-how-to-leverage-f18678-code__article h3,
.page-blog-how-to-leverage-f18678-code__article h4 {
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-how-to-leverage-f18678-code__section-title {
  font-size: 2em;
  font-weight: 700;
  color: var(--primary-color);
}

.page-blog-how-to-leverage-f18678-code__sub-section-title {
  font-size: 1.5em;
  font-weight: 600;
}

.page-blog-how-to-leverage-f18678-code__article p {
  margin-bottom: 1em;
  color: var(--text-main);
}

.page-blog-how-to-leverage-f18678-code__article a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-blog-how-to-leverage-f18678-code__article a:hover {
  text-decoration: underline;
}

.page-blog-how-to-leverage-f18678-code__list,
.page-blog-how-to-leverage-f18678-code__ordered-list {
  margin-bottom: 1em;
  padding-left: 25px;
  color: var(--text-main);
}

.page-blog-how-to-leverage-f18678-code__list li,
.page-blog-how-to-leverage-f18678-code__ordered-list li {
  margin-bottom: 0.5em;
}

.page-blog-how-to-leverage-f18678-code__image-wrapper {
  margin: 30px 0;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-how-to-leverage-f18678-code__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-how-to-leverage-f18678-code__image-caption {
  margin-top: 10px;
  font-style: italic;
  color: #555555;
  font-size: 0.9em;
}

.page-blog-how-to-leverage-f18678-code__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-blog-how-to-leverage-f18678-code__game-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-blog-how-to-leverage-f18678-code__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-how-to-leverage-f18678-code__game-card img {
  width: 100%;
   /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-how-to-leverage-f18678-code__game-title {
  font-size: 1.2em;
  font-weight: 600;
  padding: 15px 15px 5px;
  color: var(--primary-color);
}

.page-blog-how-to-leverage-f18678-code__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-blog-how-to-leverage-f18678-code__game-title a:hover {
  text-decoration: underline;
}

.page-blog-how-to-leverage-f18678-code__game-card p {
  font-size: 0.9em;
  padding: 0 15px 15px;
  margin: 0;
  color: #555555;
}

/* FAQ Section */
.page-blog-how-to-leverage-f18678-code__faq-list {
  margin-top: 30px;
}

details.page-blog-how-to-leverage-f18678-code__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

details.page-blog-how-to-leverage-f18678-code__faq-item summary.page-blog-how-to-leverage-f18678-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
}

details.page-blog-how-to-leverage-f18678-code__faq-item summary.page-blog-how-to-leverage-f18678-code__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-how-to-leverage-f18678-code__faq-item summary.page-blog-how-to-leverage-f18678-code__faq-question:hover {
  background: #f0f0f0;
}

.page-blog-how-to-leverage-f18678-code__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-blog-how-to-leverage-f18678-code__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-how-to-leverage-f18678-code__faq-item .page-blog-how-to-leverage-f18678-code__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-to-leverage-f18678-code__hero-content h1 {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-blog-how-to-leverage-f18678-code__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-leverage-f18678-code__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-how-to-leverage-f18678-code__hero-image img {
    border-radius: 4px;
  }
  .page-blog-how-to-leverage-f18678-code__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-blog-how-to-leverage-f18678-code__content-area,
  .page-blog-how-to-leverage-f18678-code__image-wrapper,
  .page-blog-how-to-leverage-f18678-code__game-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-how-to-leverage-f18678-code img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-how-to-leverage-f18678-code__section-title {
    font-size: 1.8em;
  }

  .page-blog-how-to-leverage-f18678-code__sub-section-title {
    font-size: 1.3em;
  }

  .page-blog-how-to-leverage-f18678-code__game-grid {
    grid-template-columns: 1fr;
  }

  details.page-blog-how-to-leverage-f18678-code__faq-item summary.page-blog-how-to-leverage-f18678-code__faq-question { 
    padding: 15px; 
  }
  .page-blog-how-to-leverage-f18678-code__faq-qtext { 
    font-size: 15px; 
  }
  .page-blog-how-to-leverage-f18678-code__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog-how-to-leverage-f18678-code__hero-content h1 {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-blog-how-to-leverage-f18678-code__intro-description {
    font-size: 1em;
  }
  .page-blog-how-to-leverage-f18678-code__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-blog-how-to-leverage-f18678-code__section-title {
    font-size: 1.5em;
  }
  .page-blog-how-to-leverage-f18678-code__sub-section-title {
    font-size: 1.2em;
  }
}