.page-blog {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-blog__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__section-intro {
  font-size: 1.1em;
  color: rgba(255, 245, 225, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  color: #FFF5E1; /* Text Main */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
  border-radius: 10px;
}

.page-blog__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  font-weight: 900;
  margin-bottom: 15px;
  color: #FFD86A; /* Brighter for emphasis */
  line-height: 1.1;
}

.page-blog__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544; /* Border */
}

.page-blog__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-button--secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
}

.page-blog__cta-button--secondary:hover {
  background: #E53935; /* Auxiliary color */
}

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

.page-blog__post-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #F2B544; /* Border */
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

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

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

.page-blog__post-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #FFD86A; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #FFF5E1; /* Text Main */
}

.page-blog__post-meta {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  color: #FFF5E1;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-blog__read-more:hover {
  background-color: #C91F17; /* Main color */
}

.page-blog__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

.page-blog__dark-bg {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

.page-blog__categories .page-blog__section-title,
.page-blog__categories .page-blog__section-intro {
  color: #FFF5E1;
}

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

.page-blog__category-item {
  display: block;
  padding: 12px 25px;
  background-color: #D32F2F; /* Card BG */
  color: #FFD86A; /* Gold */
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-blog__category-item:hover {
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main */
  transform: translateY(-2px);
}

.page-blog__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-blog__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  cursor: pointer;
  background-color: #C91F17; /* Main color */
  border-bottom: 1px solid #E53935;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-blog__faq-question:hover {
  background-color: #E53935; /* Auxiliary color */
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-blog__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
  background-color: #D32F2F; /* Card BG */
}

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

.page-blog__cta-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 80px 0;
}

.page-blog__cta-section .page-blog__section-title,
.page-blog__cta-section .page-blog__section-intro {
  color: #FFF5E1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__hero-content {
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-blog__description {
    font-size: 1em;
  }

  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__cta-button-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-image {
    height: 200px;
  }

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

  .page-blog__read-more {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .page-blog__category-item {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-blog__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  /* Mobile specific image/video/button responsive rules */
  .page-blog img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__post-card,
  .page-blog__hero-content,
  .page-blog__category-item,
  .page-blog__faq-item {
    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; /* body already handles --header-offset */
  }

  /* Buttons specific mobile rules */
  .page-blog__cta-button,
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog__button-group {
    display: flex;
    flex-direction: column;
  }

  /* Image CSS dimensions minimum check */
  .page-blog__post-image { /* Example: ensuring blog post images are not too small */
    min-width: 200px; 
    min-height: 200px; 
  }
}