/* style/blog.css */

/* Base styles for page-blog */
.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #F2FFF6;
  padding: 10px 0 60px 0; /* body handles top padding, use small value here */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-blog__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image a bit for visual flow, but not overlapping text */
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-blog__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-blog__content-area {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 20px;
}

.page-blog__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 60px 20px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.page-blog__sub-title {
  font-size: 1.8em;
  color: #57E38D; /* Glow */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-blog__text-block {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__text-block strong {
  color: #F2FFF6; /* Text Main */
}

.page-blog__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-blog__list,
.page-blog__ordered-list {
  list-style-position: inside;
  text-align: left;
  max-width: 800px;
  margin: 20px auto 40px auto;
  padding-left: 0;
}

.page-blog__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  padding-left: 25px;
  position: relative;
}

.page-blog__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-blog__list-item::before {
  content: '✔';
  color: #57E38D; /* Glow */
  position: absolute;
  left: 0;
}

.page-blog__ordered-list .page-blog__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: #F2C14E; /* Gold */
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-blog__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-blog__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__card-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-blog__card-link:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-blog__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-blog__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-blog__benefit-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__benefit-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-blog__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid #2E7A4E; /* Border */
  list-style: none;
}

.page-blog__faq-item[open] .page-blog__faq-question {
  background-color: #11A84E; /* Main color when open */
}

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #F2C14E; /* Gold */
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  color: #F2FFF6; /* Text Main */
}

.page-blog__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  background-color: #0A4B2C; /* Deep Green */
}

.page-blog__cta-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background */
}

.page-blog__cta-buttons--center {
  margin-top: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-blog__hero-content {
    margin-top: -80px;
    padding: 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-blog__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-blog__sub-title {
    font-size: 1.5em;
  }

  .page-blog__text-block,
  .page-blog__list-item,
  .page-blog__card-text,
  .page-blog__benefit-text,
  .page-blog__faq-text {
    font-size: 0.95em;
  }

  .page-blog__feature-grid,
  .page-blog__benefits-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-blog__card-image {
    height: 180px;
  }

  .page-blog__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog__faq-answer {
    padding: 15px 20px;
  }

  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__hero-content {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px) !important;
  }

  .page-blog__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Ensure summary marker is hidden */
.page-blog__faq-item summary::-webkit-details-marker,
.page-blog__faq-item summary::marker {
  display: none;
}

.page-blog__faq-item summary {
  list-style: none;
}