.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(255,165,58,0.1) 0%, rgba(217,104,0,0.1) 100%);
}

.page-blog__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-blog__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FF8C1A;
  margin-bottom: 20px;
}

.page-blog__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 1px solid #FF8C1A;
}

.page-blog__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

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

.page-blog__latest-posts-section {
  padding: 60px 0;
}

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

.page-blog__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-blog__blog-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-meta {
  font-size: 0.9rem;
  color: #A84F0C; /* Border */
  margin-bottom: 15px;
}

.page-blog__card-excerpt {
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.5;
  flex-grow: 1;
}

.page-blog__view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog__cta-section {
  background: #17191F; /* Card BG */
  padding: 80px 0;
  text-align: center;
}

.page-blog__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 20px;
}

.page-blog__cta-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-blog__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-blog__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-blog__hero-content,
  .page-blog__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-blog__main-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .page-blog__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    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__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__latest-posts-section {
    padding: 40px 0;
  }

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

  .page-blog__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__blog-card {
    max-width: 100%;
    margin: 0 auto;
  }

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

  .page-blog__card-title {
    font-size: 1.2rem;
  }

  .page-blog__card-excerpt {
    font-size: 0.95rem;
  }

  .page-blog__view-all-wrapper {
    margin-top: 30px;
  }

  .page-blog__cta-section {
    padding: 60px 15px;
  }

  .page-blog__cta-title {
    font-size: 2rem;
  }

  .page-blog__cta-description {
    font-size: 1rem;
  }

  /* General image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog__container,
  .page-blog__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}