.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Main text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-blog__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F4D34D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-blog__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* HERO Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #7A0E0E; /* Deep Red background for hero section */
  margin-bottom: 40px;
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog__main-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD86A; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* No fixed font-size, use clamp if needed but generally rely on font-weight, line-height */
}

.page-blog__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text for golden button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: #FFCC66;
}

/* Introduction Section */
.page-blog__introduction-section {
  padding: 50px 0;
  margin-bottom: 40px;
  border-radius: 10px;
}

/* Latest Articles Section */
.page-blog__latest-articles {
  padding: 50px 0;
  margin-bottom: 40px;
}

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

.page-blog__article-card {
  background-color: #D32F2F; /* Card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #FFF5E1; /* Light text for dark card background */
  border: 1px solid #F2B544;
}

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

.page-blog__article-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-blog__article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover .page-blog__article-image-wrapper img {
  transform: scale(1.05);
}

.page-blog__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD86A;
  line-height: 1.3;
}

.page-blog__article-excerpt {
  font-size: 16px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__article-date {
  font-size: 14px;
  color: #F2B544;
  text-align: right;
}

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: #E53935;
  color: #FFF5E1;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #C91F17;
}

.page-blog__view-all-button:hover {
  background: #C91F17;
  transform: translateY(-2px);
}

/* Why Choose Blog Section */
.page-blog__why-choose-blog {
  padding: 50px 0;
  margin-bottom: 40px;
}

.page-blog__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog__feature-item {
  background-color: #D32F2F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544;
}

.page-blog__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD86A;
  margin-bottom: 15px;
}

.page-blog__feature-description {
  font-size: 16px;
  color: #FFF5E1;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 50px 0;
  margin-bottom: 40px;
}

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

.page-blog__category-card {
  background-color: #E53935;
  color: #FFF5E1;
  text-decoration: none;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #C91F17;
}

.page-blog__category-card:hover {
  background-color: #C91F17;
  transform: translateY(-3px);
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 50px 0;
  margin-bottom: 40px;
}

.page-blog__faq-list {
  margin-top: 30px;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F; /* Card background for FAQ items */
  color: #FFF5E1; /* Light text for dark background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #C91F17; /* Darker red for question header */
}

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

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #E53935;
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Light text on dark question header */
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Gold color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 25px;
  background: #D32F2F; /* Card background for answer content */
  border-radius: 0 0 10px 10px;
}

.page-blog__faq-answer p {
  color: #FFF5E1; /* Light text for dark answer content */
  font-size: 16px;
}

/* Call to Action Section */
.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
  background: #7A0E0E; /* Deep Red background */
  margin-top: 40px;
  border-radius: 10px;
}

.page-blog__cta-section .page-blog__section-title {
  margin-bottom: 25px;
  color: #FFD86A;
}

.page-blog__cta-section .page-blog__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
  font-size: 18px;
  color: #FFF5E1;
}

/* Dark Background Section Helper */
.page-blog__dark-section {
  background-color: #B71C1C; /* Body background color for sections */
  color: #FFF5E1;
  padding: 50px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 44px;
  }
  .page-blog__section-title {
    font-size: 30px;
  }
  .page-blog__article-title {
    font-size: 20px;
  }
  .page-blog__hero-description {
    font-size: 18px;
  }
  .page-blog__cta-button {
    font-size: 18px;
    padding: 14px 35px;
  }
  .page-blog__paragraph {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__section, 
  .page-blog__card, 
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  
  .page-blog__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .page-blog__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .page-blog__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-blog__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .page-blog__article-grid {
    grid-template-columns: 1fr;
  }
  
  .page-blog__article-card {
    margin-bottom: 20px;
  }
  
  .page-blog__article-title {
    font-size: 18px;
  }
  
  .page-blog__article-excerpt {
    font-size: 15px;
  }
  
  .page-blog__feature-list {
    grid-template-columns: 1fr;
  }
  
  .page-blog__feature-item {
    padding: 25px;
  }
  
  .page-blog__feature-title {
    font-size: 20px;
  }
  
  .page-blog__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  
  .page-blog__category-card {
    font-size: 16px;
    padding: 15px;
  }
  
  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px;
  }
  
  .page-blog__faq-qtext {
    font-size: 16px;
  }
  
  .page-blog__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  
  .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-blog__faq-answer p {
    font-size: 15px;
  }

  .page-blog__cta-section .page-blog__paragraph {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 28px;
  }
  .page-blog__section-title {
    font-size: 24px;
  }
  .page-blog__hero-description {
    font-size: 15px;
  }
  .page-blog__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-blog__paragraph {
    font-size: 15px;
  }
  .page-blog__article-title {
    font-size: 17px;
  }
  .page-blog__article-excerpt {
    font-size: 14px;
  }
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__category-card {
    font-size: 16px;
  }
  .page-blog__faq-qtext {
    font-size: 15px;
  }
  .page-blog__faq-answer p {
    font-size: 14px;
  }
}