/* style/blog.css */
/* Base styles for the blog page */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background #0A0A0A */
  background-color: #0A0A0A; /* Page background */
}

/* Containers for content alignment */
.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog__hero-section {
  display: flex;
  flex-direction: column; /* Stack image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  min-height: auto;
  background-color: #0A0A0A;
}

.page-blog__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width on larger screens */
  height: auto;
  object-fit: cover;
  margin-bottom: 30px; /* Space below image */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-content-wrapper {
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Main brand color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog__hero-description {
  font-size: 1.25rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-blog__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main brand color */
  border: 2px solid #F2C14E; /* Border with brand color */
}

.page-blog__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

/* Section Titles and Descriptions */
.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Recent Posts Section */
.page-blog__recent-posts-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-blog__post-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}