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

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Decorative spacing, body handles --header-offset */
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(17, 17, 17, 0.8); /* Card B G with transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap with image */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

/* Call to Action Button */
.page-blog__cta-button,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-blog__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 211, 107, 0.4);
}

.page-blog__btn-secondary {
  background: #111111; /* Card B G */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color */
}

.page-blog__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card B G */
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(242, 193, 78, 0.4);
}

.page-blog__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Section Titles and Descriptions */
.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

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

/* Featured Video Section */
.page-blog__featured-video-section {
  padding: 60px 0;
  padding-top: 10px; /* Consistent top padding */
  background-color: #0A0A0A;
}

.page-blog__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: #111111; /* Placeholder background */
  border: 1px solid #3A2A12;
}

.page-blog__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-blog__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__video-description {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Latest Posts Section */
.page-blog__latest-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: #111111; /* Card B G */
  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;
  border: 1px solid #3A2A12;
}

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

.page-blog__post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-blog__post-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

.page-blog__read-more {
  color: #F2C14E; /* Main color */
  font-weight: bold;
  display: flex;
  align-items: center;
}

.page-blog__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-blog__post-card:hover .page-blog__arrow {
  transform: translateX(5px);
}

.page-blog__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-blog__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111111; /* Card B G */
  color: #FFF6D6;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-blog__pagination-link:hover:not(.page-blog__pagination-link--disabled):not(.page-blog__pagination-link--active) {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card B G */
}

.page-blog__pagination-link--active {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card B G */
  cursor: default;
}

.page-blog__pagination-link--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.page-blog__category-card {
  background: #111111; /* Card B G */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: #F2C14E; /* Main color */
  color: #111111; /* Card B G */
}

.page-blog__category-card:hover .page-blog__category-title {
  color: #111111; /* Card B G */
}

.page-blog__category-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-blog__category-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  transition: color 0.3s ease;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-blog__faq-item {
  background: #111111; /* Card B G */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  font-size: 1.15rem;
  background: #111111;
  transition: background 0.3s ease;
}

.page-blog__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-blog__faq-title {
  margin: 0;
  color: #FFD36B;
}

.page-blog__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Main color */
}

.page-blog__faq-item.active .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
  line-height: 1.7;
}

.page-blog__faq-item.active .page-blog__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-blog__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-blog__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-blog__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

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

  .page-blog__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__hero-section,
  .page-blog__featured-video-section,
  .page-blog__latest-posts-section,
  .page-blog__categories-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-blog__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-blog__cta-button,
  .page-blog__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__button-group {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-blog__section-title {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* Video responsiveness */
  .page-blog__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure 16:9 */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__video {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog__post-image {
    height: 200px !important; /* Adjust height for mobile if needed, but ensure min-height is met */
  }

  .page-blog__post-content {
    padding: 20px 15px;
  }

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

  .page-blog__post-excerpt {
    font-size: 0.9rem;
  }

  .page-blog__categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .page-blog__category-card {
    padding: 15px;
  }

  .page-blog__category-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .page-blog__category-title {
    font-size: 1rem;
  }

  .page-blog__faq-question {
    padding: 18px 15px;
    font-size: 1rem;
  }

  .page-blog__faq-answer {
    padding: 0 15px;
    font-size: 0.95rem;
  }

  .page-blog__faq-item.active .page-blog__faq-answer {
    padding: 15px 15px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    margin-top: -40px;
  }

  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
}