/* style/blog-how-5mb-code-ensures-fairness.css */

/* Base styles for the page content, inherits from body background for overall color scheme */
.page-blog-how-5mb-code-ensures-fairness {
  background-color: var(--background-color, #08160F); /* Fallback to custom color if shared var is not set */
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-how-5mb-code-ensures-fairness__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-5mb-code-ensures-fairness__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  background-color: var(--deep-green-color, #0A4B2C); /* Deep Green background for the section */
}

.page-blog-how-5mb-code-ensures-fairness__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px; /* Ensure image doesn't stretch beyond its intended max size */
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog-how-5mb-code-ensures-fairness__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: var(--text-main-color, #F2FFF6);
}

.page-blog-how-5mb-code-ensures-fairness__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  color: var(--gold-color, #F2C14E); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-how-5mb-code-ensures-fairness__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-blog-how-5mb-code-ensures-fairness__introduction-section,
.page-blog-how-5mb-code-ensures-fairness__tech-section,
.page-blog-how-5mb-code-ensures-fairness__mechanisms-section,
.page-blog-how-5mb-code-ensures-fairness__benefits-section,
.page-blog-how-5mb-code-ensures-fairness__comparison-section,
.page-blog-how-5mb-code-ensures-fairness__future-section,
.page-blog-how-5mb-code-ensures-fairness__faq-section,
.page-blog-how-5mb-code-ensures-fairness__conclusion-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

.page-blog-how-5mb-code-ensures-fairness__section-title {
  font-size: 2.5rem;
  color: var(--glow-color, #57E38D); /* Glow color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-how-5mb-code-ensures-fairness__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main-color, #F2FFF6);
}

.page-blog-how-5mb-code-ensures-fairness__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Card Styling */
.page-blog-how-5mb-code-ensures-fairness__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-how-5mb-code-ensures-fairness__card,
.page-blog-how-5mb-code-ensures-fairness__benefit-card {
  background-color: var(--card-bg-color, #11271B); /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #F2FFF6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-blog-how-5mb-code-ensures-fairness__card-title,
.page-blog-how-5mb-code-ensures-fairness__benefit-title {
  font-size: 1.6rem;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-how-5mb-code-ensures-fairness__card-text {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Benefits Section Specifics */
.page-blog-how-5mb-code-ensures-fairness__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-blog-how-5mb-code-ensures-fairness__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-blog-how-5mb-code-ensures-fairness__benefit-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-blog-how-5mb-code-ensures-fairness__benefit-list li::before {
  content: '✅'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: var(--glow-color, #57E38D);
}

/* FAQ Section */
.page-blog-how-5mb-code-ensures-fairness__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-how-5mb-code-ensures-fairness__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-how-5mb-code-ensures-fairness__faq-item summary {
  list-style: none; /* Hide default marker */
}
.page-blog-how-5mb-code-ensures-fairness__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-how-5mb-code-ensures-fairness__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg-color, #11271B);
  transition: background-color 0.3s ease;
}

.page-blog-how-5mb-code-ensures-fairness__faq-question:hover {
  background-color: #1a3022; /* Slightly lighter hover for dark background */
}

.page-blog-how-5mb-code-ensures-fairness__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow-color, #57E38D);
}

.page-blog-how-5mb-code-ensures-fairness__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.6;
}

/* Button Styling */
.page-blog-how-5mb-code-ensures-fairness__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-how-5mb-code-ensures-fairness__btn-primary,
.page-blog-how-5mb-code-ensures-fairness__btn-secondary,
.page-blog-how-5mb-code-ensures-fairness__text-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-how-5mb-code-ensures-fairness__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-how-5mb-code-ensures-fairness__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-blog-how-5mb-code-ensures-fairness__btn-secondary {
  background-color: transparent;
  color: var(--glow-color, #57E38D);
  border: 2px solid var(--glow-color, #57E38D);
}

.page-blog-how-5mb-code-ensures-fairness__btn-secondary:hover {
  background-color: var(--glow-color, #57E38D);
  color: #08160F; /* Dark text on glow color */
  transform: translateY(-2px);
}

.page-blog-how-5mb-code-ensures-fairness__text-link {
  color: var(--glow-color, #57E38D);
  text-decoration: underline;
  padding: 0;
  border: none;
  background: none;
}

.page-blog-how-5mb-code-ensures-fairness__text-link:hover {
  color: var(--gold-color, #F2C14E);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-how-5mb-code-ensures-fairness__section-title {
    font-size: 2rem;
  }
  .page-blog-how-5mb-code-ensures-fairness__card-title,
  .page-blog-how-5mb-code-ensures-fairness__benefit-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-blog-how-5mb-code-ensures-fairness {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-how-5mb-code-ensures-fairness__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-blog-how-5mb-code-ensures-fairness__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
  }
  .page-blog-how-5mb-code-ensures-fairness__hero-description {
    font-size: 1rem;
  }
  .page-blog-how-5mb-code-ensures-fairness__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-blog-how-5mb-code-ensures-fairness__text-block {
    font-size: 1rem;
  }
  .page-blog-how-5mb-code-ensures-fairness__grid-container,
  .page-blog-how-5mb-code-ensures-fairness__benefits-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 20px;
  }
  .page-blog-how-5mb-code-ensures-fairness__card,
  .page-blog-how-5mb-code-ensures-fairness__benefit-card {
    padding: 25px;
  }
  .page-blog-how-5mb-code-ensures-fairness__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-blog-how-5mb-code-ensures-fairness__faq-answer {
    padding: 0 20px 15px;
  }
  .page-blog-how-5mb-code-ensures-fairness__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 350px; /* Limit width of stacked buttons */
    margin-left: auto;
    margin-right: auto;
  }

  /* Images responsive styles */
  .page-blog-how-5mb-code-ensures-fairness img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-how-5mb-code-ensures-fairness__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All containers with images/content for mobile */
  .page-blog-how-5mb-code-ensures-fairness__container,
  .page-blog-how-5mb-code-ensures-fairness__hero-content,
  .page-blog-how-5mb-code-ensures-fairness__introduction-section,
  .page-blog-how-5mb-code-ensures-fairness__tech-section,
  .page-blog-how-5mb-code-ensures-fairness__mechanisms-section,
  .page-blog-how-5mb-code-ensures-fairness__benefits-section,
  .page-blog-how-5mb-code-ensures-fairness__comparison-section,
  .page-blog-how-5mb-code-ensures-fairness__future-section,
  .page-blog-how-5mb-code-ensures-fairness__faq-section,
  .page-blog-how-5mb-code-ensures-fairness__conclusion-section,
  .page-blog-how-5mb-code-ensures-fairness__card,
  .page-blog-how-5mb-code-ensures-fairness__benefit-card,
  .page-blog-how-5mb-code-ensures-fairness__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive styles */
  .page-blog-how-5mb-code-ensures-fairness__btn-primary,
  .page-blog-how-5mb-code-ensures-fairness__btn-secondary,
  .page-blog-how-5mb-code-ensures-fairness a[class*="button"],
  .page-blog-how-5mb-code-ensures-fairness a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-how-5mb-code-ensures-fairness__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important; /* Ensure vertical stacking for buttons */
    align-items: center;
  }
}