.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Background for the section itself */
}

.page-blog__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
}

.page-blog__hero-content {
  flex: 1 1 50%;
  max-width: 50%;
}

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

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

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

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

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

.page-blog__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
}

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

.page-blog__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* General Section Styling */
.page-blog__latest-posts-section,
.page-blog__categories-section,
.page-blog__newsletter-section,
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

/* Blog Post Grid */
.page-blog__post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.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 color */
}

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

.page-blog__post-media {
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
}

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

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

.page-blog__post-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-blog__post-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #FFD36B;
}

.page-blog__post-meta {
  font-size: 0.9rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__read-more-link {
  color: #FFD36B; /* Glow color */
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.page-blog__read-more-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #FFD36B;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.page-blog__read-more-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

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

/* Category Grid */
.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.page-blog__category-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #3A2A12; /* Border color */
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  background-color: rgba(242, 193, 78, 0.1); /* Slight hover effect */
}

.page-blog__category-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px;
  display: block;
}

.page-blog__category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E;
}

/* Newsletter Section */
.page-blog__newsletter-section .page-blog__dark-section {
  background-color: #111111; /* Card BG */
  padding: 50px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border color */
}

.page-blog__newsletter-section .page-blog__section-title,
.page-blog__newsletter-section .page-blog__section-description {
  color: #FFF6D6; /* Text Main */
}

.page-blog__newsletter-section .page-blog__section-title {
  color: #F2C14E;
}

.page-blog__subscribe-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-blog__form-input {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border color */
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFF6D6;
  font-size: 1rem;
  flex: 1 1 250px;
  max-width: 400px;
  box-sizing: border-box;
}

.page-blog__form-input::placeholder {
  color: rgba(255, 246, 214, 0.6);
}

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

.page-blog__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B;
  margin-left: 15px;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: "−";
}

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }
  .page-blog__hero-image {
    flex: 1 1 100%;
  }
  .page-blog__cta-buttons {
    justify-content: center;
  }
  .page-blog__post-grid,
  .page-blog__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }
}