/* style/blog-why-789p-is-leading.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-blog-why-789p-is-leading {
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color);
}

.page-blog-why-789p-is-leading__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-why-789p-is-leading__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--background-color);
}

.page-blog-why-789p-is-leading__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-why-789p-is-leading__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-blog-why-789p-is-leading__hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image bottom */
  z-index: 1;
  background-color: rgba(8, 22, 15, 0.8); /* Slightly transparent background for text clarity */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-blog-why-789p-is-leading__main-title {
  color: var(--text-main-color);
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-blog-why-789p-is-leading__hero-description {
  color: var(--text-secondary-color);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-blog-why-789p-is-leading__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-why-789p-is-leading__btn-primary,
.page-blog-why-789p-is-leading__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-why-789p-is-leading__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Button text always white for contrast */
  border: 2px solid var(--primary-color);
}

.page-blog-why-789p-is-leading__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-blog-why-789p-is-leading__btn-secondary {
  background: transparent;
  color: var(--text-main-color); /* Light text on dark background */
  border: 2px solid var(--border-color);
}

.page-blog-why-789p-is-leading__btn-secondary:hover {
  background-color: var(--deep-green-color);
  color: var(--glow-color);
  border-color: var(--glow-color);
}

.page-blog-why-789p-is-leading__cta-buttons--centered {
  margin-top: 30px;
}

.page-blog-why-789p-is-leading__section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-blog-why-789p-is-leading__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-blog-why-789p-is-leading__light-bg {
  background-color: #11271B; /* Card BG color */
  color: var(--text-main-color);
}

.page-blog-why-789p-is-leading__section-title {
  color: var(--gold-color);
  font-size: clamp(1.8em, 3vw, 2.5em);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-why-789p-is-leading__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--glow-color);
  border-radius: 2px;
}

.page-blog-why-789p-is-leading__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-blog-why-789p-is-leading__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-blog-why-789p-is-leading__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-why-789p-is-leading__feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-blog-why-789p-is-leading__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px var(--glow-color) inset;
}

.page-blog-why-789p-is-leading__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
}

.page-blog-why-789p-is-leading__card-title {
  color: var(--gold-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-blog-why-789p-is-leading__card-description {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  line-height: 1.6;
}

.page-blog-why-789p-is-leading__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-blog-why-789p-is-leading__list-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 5px solid var(--primary-color);
  color: var(--text-main-color);
}

.page-blog-why-789p-is-leading__list-title {
  color: var(--gold-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-blog-why-789p-is-leading__list-description {
  color: var(--text-secondary-color);
  line-height: 1.6;
}

.page-blog-why-789p-is-leading__faq-list {
  margin-top: 40px;
}

.page-blog-why-789p-is-leading__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-blog-why-789p-is-leading__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-blog-why-789p-is-leading__faq-question:hover {
  background-color: var(--primary-color);
}

.page-blog-why-789p-is-leading__faq-item[open] .page-blog-why-789p-is-leading__faq-question {
  border-bottom-color: transparent;
}

.page-blog-why-789p-is-leading__faq-qtext {
  flex-grow: 1;
}

.page-blog-why-789p-is-leading__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-blog-why-789p-is-leading__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-blog-why-789p-is-leading__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-why-789p-is-leading__faq-item summary::marker {
  display: none;
}

/* Conclusion section specific styles */
.page-blog-why-789p-is-leading__conclusion {
  text-align: center;
  padding: 80px 0;
  background-color: var(--deep-green-color);
}

.page-blog-why-789p-is-leading__conclusion .page-blog-why-789p-is-leading__section-title {
  color: var(--gold-color);
}

.page-blog-why-789p-is-leading__conclusion .page-blog-why-789p-is-leading__text-block {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-why-789p-is-leading__hero-content {
    margin-top: -100px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog-why-789p-is-leading {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-why-789p-is-leading__container,
  .page-blog-why-789p-is-leading__hero-section,
  .page-blog-why-789p-is-leading__section,
  .page-blog-why-789p-is-leading__feature-grid,
  .page-blog-why-789p-is-leading__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-why-789p-is-leading img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-why-789p-is-leading__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-why-789p-is-leading__hero-content {
    margin-top: -80px;
    padding: 20px;
  }

  .page-blog-why-789p-is-leading__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-why-789p-is-leading__hero-description {
    font-size: 1em;
  }

  .page-blog-why-789p-is-leading__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-why-789p-is-leading__btn-primary,
  .page-blog-why-789p-is-leading__btn-secondary,
  .page-blog-why-789p-is-leading a[class*="button"],
  .page-blog-why-789p-is-leading 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-why-789p-is-leading__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-why-789p-is-leading__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-blog-why-789p-is-leading__feature-card {
    padding: 20px;
  }

  .page-blog-why-789p-is-leading__card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-blog-why-789p-is-leading__hero-content {
    margin-top: -60px;
  }

  .page-blog-why-789p-is-leading__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }

  .page-blog-why-789p-is-leading__btn-primary,
  .page-blog-why-789p-is-leading__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-blog-why-789p-is-leading__section {
    padding: 40px 0;
  }

  .page-blog-why-789p-is-leading__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-why-789p-is-leading__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}