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

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

.page-blog__section-spacing {
  padding: 60px 0;
}

/* HERO Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-blog__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Main brand color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Section Titles */
.page-blog__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
}

/* Buttons */
.page-blog__button-primary,
.page-blog__button-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__button-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  margin: 0 10px;
}

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

.page-blog__button-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main brand color */
  border: 2px solid #F2C14E;
  margin: 0 10px;
}

.page-blog__button-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

/* Blog Masonry Layout */
.page-blog__blog-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.page-blog__blog-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #3A2A12; /* Border color */
}

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

.page-blog__blog-card-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

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

.page-blog__blog-card-category {
  font-size: 0.9rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.page-blog__blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__blog-card-excerpt {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__blog-card-date {
  font-size: 0.85rem;
  color: #FFD36B;
}

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

/* Categories Section */
.page-blog__category-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.page-blog__category-item:hover {
  background-color: #F2C14E;
  border-color: #F2C14E;
}

.page-blog__category-link {
  display: block;
  padding: 10px 20px;
  color: #FFF6D6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-blog__category-item:hover .page-blog__category-link {
  color: #111111;
}

/* CTA Banner */
.page-blog__cta-banner {
  background-color: #111111; /* Card BG */
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-blog__cta-title {
  font-size: 2.2rem;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-blog__cta-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Blog Section */
.page-blog__about-blog-section {
  background-color: #0A0A0A;
}

.page-blog__about-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Global image responsiveness */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__blog-masonry {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-blog__category-list {
    gap: 10px;
  }
  .page-blog__cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* HERO Section - Mobile */
  .page-blog__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-blog__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-blog__hero-image {
    height: 250px;
    margin-bottom: 20px;
  }

  /* Section Titles - Mobile */
  .page-blog__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  /* Blog Masonry - Mobile */
  .page-blog__blog-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__blog-card-image {
    height: 180px;
  }
  .page-blog__blog-card-title {
    font-size: 1.2rem;
  }
  .page-blog__blog-card-excerpt {
    font-size: 0.95rem;
  }

  /* Categories Section - Mobile */
  .page-blog__category-list {
    flex-direction: column;
    align-items: center;
  }
  .page-blog__category-item {
    width: 100%;
    max-width: 250px;
  }

  /* CTA Banner - Mobile */
  .page-blog__cta-banner {
    padding: 60px 0;
  }
  .page-blog__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-blog__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__button-primary,
  .page-blog__button-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* About Blog Section - Mobile */
  .page-blog__about-text {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  /* General image and container responsiveness for mobile */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section, 
  .page-blog__card, 
  .page-blog__container,
  .page-blog__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fixed header spacing for first content block if needed */
  .page-blog__hero-section { 
    /* If shared.css does not handle body padding-top, uncomment below */
    /* padding-top: var(--header-offset, 120px) !important; */
  }

  /* Mobile specific overrides for content area images, no small icons */
  .page-blog__blog-card-image {
    min-width: 200px !important;
    min-height: 150px !important;
  }
}

/* Ensure no small icons in content */
.page-blog img:not(.page-blog__logo) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}