.page-blog {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6;
  background-color: #08160F;
}

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

.page-blog__hero-section {
  position: relative;
  padding-top: 10px; /* Aligned with shared.css body padding-top */
  padding-bottom: 40px;
  text-align: center;
  background-color: #08160F;
  overflow: hidden;
}

.page-blog__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog__hero-content {
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

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

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

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #A7D9B8;
  border: 2px solid #2E7A4E;
}

.page-blog__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  color: #F2FFF6;
}

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  border-radius: 2px;
}

.page-blog__latest-posts-section,
.page-blog__categories-section,
.page-blog__faq-section,
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-blog__value-proposition-section {
  padding: 60px 0;
  background-color: #11271B;
}

.page-blog__dark-section {
  background-color: #11271B;
  color: #F2FFF6;
}

.page-blog__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__post-card {
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-blog__post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__post-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog__post-content {
  padding: 25px;
}

.page-blog__post-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-blog__post-date {
  font-size: 0.85em;
  color: #2AD16F;
  margin-bottom: 10px;
  display: block;
}

.page-blog__read-more {
  color: #57E38D;
  font-weight: 600;
  font-size: 0.95em;
  display: inline-block;
}

.page-blog__read-more:hover {
  text-decoration: underline;
}

.page-blog__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog__category-card {
  background-color: #11271B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  background-color: #0A4B2C;
}

.page-blog__category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__category-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-blog__category-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.5;
}

.page-blog__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: #A7D9B8;
  max-width: 900px;
  margin: 0 auto 25px;
  text-align: justify;
}

.page-blog__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 900px;
}

.page-blog__benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-blog__benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D;
  font-weight: bold;
  font-size: 1.2em;
}

.page-blog__list-strong {
  color: #F2FFF6;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-question {
  background-color: #0A4B2C;
}

.page-blog__faq-question:hover {
  background-color: #0A4B2C;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  color: #57E38D;
  margin-left: 15px;
  user-select: none;
}

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

.page-blog__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
  transition: max-height 0.3s ease-out;
}

.page-blog__faq-answer p {
  margin: 0;
}

.page-blog__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-blog__faq-answer a:hover {
  text-decoration: underline;
}

.page-blog__cta-description {
  font-size: 1.15em;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-align: center;
}

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

/* --- General Image & Button Responsiveness --- */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog a[class*="button"],
.page-blog a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__hero-cta-buttons,
.page-blog__cta-buttons,
.page-blog__button-group,
.page-blog__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-blog__section-title {
    font-size: 2em;
  }

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

  .page-blog__post-title {
    font-size: 1.3em;
  }

  .page-blog__category-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog__hero-image-container {
    max-height: 300px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

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

  .page-blog__hero-cta-buttons,
  .page-blog__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog 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__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }

  .page-blog__latest-posts-section,
  .page-blog__categories-section,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__value-proposition-section {
    padding: 40px 0;
  }

  .page-blog__posts-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-image {
    height: 160px;
  }

  .page-blog__post-title {
    font-size: 1.2em;
  }

  .page-blog__post-excerpt,
  .page-blog__post-date,
  .page-blog__read-more {
    font-size: 0.9em;
  }

  .page-blog__category-image {
    max-width: 200px;
  }

  .page-blog__category-title {
    font-size: 1.3em;
  }

  .page-blog__text-block,
  .page-blog__benefits-list li,
  .page-blog__cta-description {
    font-size: 1em;
    padding: 0 15px;
    text-align: left;
  }

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

  .page-blog__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }

  /* General image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__post-card,
  .page-blog__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}