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

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

.page-blog__hero-section {
  padding-top: 10px; /* Rely on body padding-top for header offset */
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__hero-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-blog__hero-content {
  padding: 0 20px;
}

.page-blog__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-description {
  font-size: 1.2em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border: none;
  margin-right: 15px;
}

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

.page-blog__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

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

.page-blog__articles-section {
  padding: 40px 0;
  background-color: #17191F; /* Card BG */
  margin-bottom: 40px;
  border-radius: 8px;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-blog__section-title--light {
  color: #FFF3E6; /* Text Main */
}

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

.page-blog__article-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex-grow: 1;
}

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

.page-blog__article-title {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  padding: 15px;
  margin-bottom: 10px;
}

.page-blog__article-meta {
  font-size: 0.9em;
  color: #FFA53A;
  padding: 0 15px;
  margin-bottom: 10px;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-blog__article-card .page-blog__btn {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

.page-blog__view-all-button-container {
  text-align: center;
}

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

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

.page-blog__category-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-decoration: none;
  color: #FFF3E6; /* Text Main */
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 140, 26, 0.2); /* Slightly lighter brand color */
}

.page-blog__category-title {
  font-size: 1.6em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

.page-blog__cta-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
  text-align: center;
  border-top: 2px solid #A84F0C;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__cta-description {
  font-size: 1.1em;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-blog__category-card {
    padding: 20px;
  }
  .page-blog__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-blog__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }
  .page-blog__hero-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-blog__btn {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__btn-primary {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-blog__articles-section {
    padding: 20px 0;
    margin-bottom: 20px;
  }
  .page-blog__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__article-image {
    height: 180px;
  }
  .page-blog__article-title {
    font-size: 1.2em;
    padding: 10px;
  }
  .page-blog__article-meta,
  .page-blog__article-excerpt {
    padding: 0 10px 10px;
  }
  .page-blog__article-card .page-blog__btn {
    margin: 0 10px 10px;
    width: calc(100% - 20px);
  }
  .page-blog__categories-section {
    padding: 30px 0;
  }
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-blog__category-card {
    padding: 15px;
  }
  .page-blog__category-title {
    font-size: 1.4em;
  }
  .page-blog__cta-section {
    padding: 30px 0;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  /* General image and container responsiveness for mobile */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}